Skip to main content

atomic_max_u32_workgroup

Function atomic_max_u32_workgroup 

Source
pub fn atomic_max_u32_workgroup(ptr: &mut u32, value: u32) -> u32
Expand description

Atomically computes max(*ptr, value) (workgroup scope) and returns the old value.