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

Commit

Permalink
Use DebugSyncStream where appropriate.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed May 18, 2022
1 parent 0f9587a commit 7485284
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thrust/system/cuda/detail/core/agent_launcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,7 @@ namespace core {
{
if (debug_sync)
{
NV_IF_TARGET(NV_IS_HOST,
(cudaStreamSynchronize(stream);),
(cub::detail::device_synchronize();));
cub::DebugSyncStream(stream);
}
}

Expand Down

0 comments on commit 7485284

Please sign in to comment.