ballot

Function ballot 

Source
pub fn ballot(b: bool) -> u64
🔬This is a nightly-only experimental API. (stdarch_amdgpu #149988)
Available on target_arch=amdgpu only.
Expand description

Returns a bitfield (u32 or u64) containing the result of its i1 argument in all active lanes, and zero in all inactive lanes.