ds_bpermute in core::arch::amdgpu - Rust
Description: Gather data across all lanes in a wavefront.

Skip to main content

## ds_bpermute

# Function ds_bpermute

Source

    pub unsafe fn ds_bpermute(lane: u32, value: u32) -> u32

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

Gather data across all lanes in a wavefront.

Returns the `value` given to `ds_permute` by lane `lane`.

Reading from inactive lanes returns `0`.