pub fn control_barrier<const EXECUTION: u32, const MEMORY: u32, const SEMANTICS: u32>()Expand description
Control barrier with explicit execution scope, memory scope, and semantics.
On GPU (SPIR-V): calls spirv_std::arch::control_barrier.
On GPU (CUDA): calls __syncthreads().
On CPU: waits on the thread-local workgroup barrier.