Mojo function
elect_one_sync
elect_one_sync() -> Bool
Elects a single thread within a warp to perform an operation.
Returns: True for the elected thread, False for all other threads in the warp.
This primitive is useful for having a single thread perform an operation while maintaining warp synchronization. Only supported on NVIDIA SM90+ GPUs.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!