triton.experimental.gluon.language.amd.cdna5.tdm
Tensor Data Mover (TDM) operations for CDNA5.
TDM copies blocks of a tensor between global and shared memory asynchronously, described by a
tensor_descriptor (make_tensor_descriptor()) that holds the tensor’s shape, strides, block shape and
shared memory layout. Position the descriptor with update_tensor_descriptor(), then issue async_load(),
async_store(), async_gather(), async_scatter() or prefetch(). Wait for completion with
async_wait() or an mbarrier.
Functions
Update selected fields of a TDM descriptor; return a new descriptor SSA value. |
|
Load a block of tensor specified in tensor descriptor from global memory to shared memory asynchronously. |
|
Emit one explicit fused TDM load for 2-4 descriptor/destination pairs. |
|
Wait for the outstanding asynchronous tensor operations to complete. |
|
Make a tensor descriptor object. |
|
Prefetches a block of tensor specified in tensor descriptor from global memory into L2. |
|
Store a block of tensor specified in tensor descriptor from shared memory to global memory asynchronously. |
|
Scatter data from shared memory to non-contiguous rows in global memory asynchronously. |
|
Gather data from non-contiguous rows in global memory to shared memory asynchronously. |
Classes
A descriptor representing a tensor in global memory. |
|
The type for a tensor descriptor. |