Script.cluster.sync¶
- Script.cluster.sync()[source]¶
Synchronize all thread blocks in the current cluster.
All threads in all CTAs of the cluster must reach this barrier before any thread can proceed past it. This is the cluster-level equivalent of
__syncthreads().Notes
Thread group: Can be executed by any sized thread group.
Hardware: Requires compute capability 9.0+ (sm_90).
PTX:
barrier.cluster.arrive/barrier.cluster.wait
- Return type:
None