@@ -733,7 +733,7 @@ public:
733733 tile_descriptor = reinterpret_cast <TileDescriptor&>(alias);
734734 }
735735
736- while (WARP_ANY ((tile_descriptor.status == SCAN_TILE_INVALID), 0xffffffff ))
736+ while (__any_sync ((tile_descriptor.status == SCAN_TILE_INVALID), 0xffffffff ))
737737 {
738738 delay_or_prevent_hoisting ();
739739 TxnWord alias = LoadStatus<Order>(d_tile_descriptors + TILE_STATUS_PADDING + tile_idx);
@@ -918,7 +918,7 @@ struct ScanTileState<T, false>
918918 delay ();
919919 status = detail::load_relaxed (d_tile_status + TILE_STATUS_PADDING + tile_idx);
920920 __threadfence ();
921- } while (WARP_ANY ((status == SCAN_TILE_INVALID), 0xffffffff ));
921+ } while (__any_sync ((status == SCAN_TILE_INVALID), 0xffffffff ));
922922
923923 if (status == StatusWord (SCAN_TILE_PARTIAL))
924924 {
@@ -1145,7 +1145,7 @@ struct ReduceByKeyScanTileState<ValueT, KeyT, true>
11451145 TxnWord alias = detail::load_relaxed (d_tile_descriptors + TILE_STATUS_PADDING + tile_idx);
11461146 tile_descriptor = reinterpret_cast <TileDescriptor&>(alias);
11471147
1148- } while (WARP_ANY ((tile_descriptor.status == SCAN_TILE_INVALID), 0xffffffff ));
1148+ } while (__any_sync ((tile_descriptor.status == SCAN_TILE_INVALID), 0xffffffff ));
11491149
11501150 status = tile_descriptor.status ;
11511151 value.value = tile_descriptor.value ;
@@ -1268,7 +1268,7 @@ struct TilePrefixCallbackOp
12681268 exclusive_prefix = window_aggregate;
12691269
12701270 // Keep sliding the window back until we come across a tile whose inclusive prefix is known
1271- while (WARP_ALL ((predecessor_status != StatusWord (SCAN_TILE_INCLUSIVE)), 0xffffffff ))
1271+ while (__all_sync ((predecessor_status != StatusWord (SCAN_TILE_INCLUSIVE)), 0xffffffff ))
12721272 {
12731273 predecessor_idx -= CUB_PTX_WARP_THREADS;
12741274
0 commit comments