pub fn atomic_max_u32_workgroup(ptr: &mut u32, value: u32) -> u32
Atomically computes max(*ptr, value) (workgroup scope) and returns the old value.
*ptr
value