Skip to main content

## s_get_barrier_state

# Function s_get_barrier_state

Source

    pub unsafe fn s_get_barrier_state<const BARRIER_TYPE: i32>() -> u32

🔬This is a nightly-only experimental API. (`stdarch_amdgpu` #149988)
Available on `target_arch=amdgpu` only.
Expand description

Get the state of a specific barrier type.

The `barrier_type` argument must be uniform, otherwise behavior is undefined.