Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Eliminate device synchronization in CDP version of segmented sort#445

Merged
alliepiper merged 2 commits into
NVIDIA:mainfrom
gevtushenko:fix-main/github/eliminate_dev_sync_in_seg_sort
Mar 24, 2022
Merged

Eliminate device synchronization in CDP version of segmented sort#445
alliepiper merged 2 commits into
NVIDIA:mainfrom
gevtushenko:fix-main/github/eliminate_dev_sync_in_seg_sort

Conversation

@gevtushenko

Copy link
Copy Markdown
Collaborator

This PR eliminates the device-side usage of the cudaDeviceSynchronize function which was depricated in the CUDA Toolkit 11.6. Since in the #409 @fkallen reported usage of the segmented soft in the CDP mode, it whould be great if @fkallen could verify the changes.

@gevtushenko gevtushenko requested a review from alliepiper March 18, 2022 13:06
@alliepiper alliepiper added the P0: must have Absolutely necessary. Critical issue, major blocker, etc. label Mar 21, 2022
@alliepiper alliepiper added this to the 1.17.0 milestone Mar 21, 2022

@alliepiper alliepiper left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some minor updates needed.

Comment thread cub/device/dispatch/dispatch_segmented_sort.cuh
Comment thread cub/device/dispatch/dispatch_segmented_sort.cuh Outdated
Comment thread cub/device/dispatch/dispatch_segmented_sort.cuh Outdated
@fkallen

fkallen commented Mar 22, 2022

Copy link
Copy Markdown
Contributor

The (simple) test code from #409 is working.

@gevtushenko gevtushenko force-pushed the fix-main/github/eliminate_dev_sync_in_seg_sort branch from 6e18000 to becd6fa Compare March 22, 2022 10:36
@gevtushenko gevtushenko requested a review from alliepiper March 22, 2022 10:37
alliepiper added a commit to alliepiper/thrust that referenced this pull request Mar 22, 2022
@alliepiper

Copy link
Copy Markdown
Collaborator

gpuCI: NVIDIA/thrust#1641

@alliepiper

Copy link
Copy Markdown
Collaborator

Will need to restart tests later, looks like the github outage is affecting things at the moment.

alliepiper added a commit to alliepiper/thrust that referenced this pull request Mar 23, 2022
@alliepiper alliepiper merged commit 862fca9 into NVIDIA:main Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

P0: must have Absolutely necessary. Critical issue, major blocker, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants