Skip to content

Commit

Permalink
Comment on the synchronous nature of prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed May 25, 2023
1 parent e94f1cc commit 4f2a61e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/device/example_device_decoupled_look_back.cu
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ __global__ void decoupled_look_back_kernel(cub::ScanTileState<MessageT> tile_sta

if (warp_id == 0)
{
// Perform the decoupled look-back
// Invocation of the prefix will block until the look-back is complete.
MessageT exclusive_prefix = prefix(block_aggregate);

if (tid == 0)
Expand Down

0 comments on commit 4f2a61e

Please sign in to comment.