From 4f2a61e88edcd45eb78699f597c82f89a84bc136 Mon Sep 17 00:00:00 2001 From: Georgy Evtushenko Date: Thu, 25 May 2023 22:47:06 +0400 Subject: [PATCH] Comment on the synchronous nature of prefix --- examples/device/example_device_decoupled_look_back.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/device/example_device_decoupled_look_back.cu b/examples/device/example_device_decoupled_look_back.cu index a95301e7e..904a24fa9 100644 --- a/examples/device/example_device_decoupled_look_back.cu +++ b/examples/device/example_device_decoupled_look_back.cu @@ -75,6 +75,8 @@ __global__ void decoupled_look_back_kernel(cub::ScanTileState 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)