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

Commit 9ee6d43

Browse files
committed
Use DebugSyncStream where appropriate.
1 parent f19bc7b commit 9ee6d43

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

thrust/system/cuda/detail/core/agent_launcher.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,7 @@ namespace core {
514514
{
515515
if (debug_sync)
516516
{
517-
NV_IF_TARGET(NV_IS_HOST,
518-
(cudaStreamSynchronize(stream);),
519-
(cub::detail::device_synchronize();));
517+
cub::DebugSyncStream(stream);
520518
}
521519
}
522520

0 commit comments

Comments
 (0)