Skip to main content

## s_sleep

# Function s_sleep

Source

    pub fn s_sleep<const COUNT: u32>()

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

Sleeps for approximately `COUNT * 64` cycles.

`COUNT` must be a constant. Only the lower 7 bits of `COUNT` are used. If `COUNT == 0x8000`, sleep forever until woken up, or killed.