pub struct RawBufferAtomicUminOperation<'c> { /* private fields */ }
Expand description
A raw_buffer_atomic_umin
operation. Raw Buffer Unsigned Integer Atomic Min.
The amdgpu.raw_buffer_atomic_umin
op is a wrapper around the
buffer-based atomic signed integer min available on AMD GPUs.
The index into the buffer is computed as for memref.store
with the addition
of indexOffset
(which is used to aid in emitting vectorized code) and,
if present sgprOffset
(which is added after bounds checks and includes
any non-zero offset on the memref type).
All indexing components are given in terms of the memref’s element size, not the byte lengths required by the intrinsic.
Out of bounds atomic operations are ignored in hardware.
See amdgpu.raw_buffer_load
for a description of how the underlying
instruction is constructed.
Implementations§
source§impl<'c> RawBufferAtomicUminOperation<'c>
impl<'c> RawBufferAtomicUminOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> RawBufferAtomicUminOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> RawBufferAtomicUminOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.