Skip to main content

## readlane_u64

# Function readlane_u64

Source

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

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

Get `value` from the lane at index `lane` in the wavefront.

The lane argument must be uniform across the currently active threads of the current wavefront. Otherwise, the result is undefined.