AMD CDNA 5

async_copy

Asynchronous copies between global and shared memory for CDNA5.

buffer

Descriptor-based buffer memory ops for CDNA5.

cluster

Cluster barrier for CDNA5.

mbarrier

Shared-memory barriers (mbarriers) for CDNA5.

tdm

Tensor Data Mover (TDM) operations for CDNA5.

buffer_load

Deprecated.

buffer_store

Deprecated.

get_scaled_upcast_fp4_scale_layout

Return the scale layout required by an FP4 scaled_upcast.

get_wmma_scale_layout

Get the scale layout for WMMA scaled operands.

load_shared_fp4_repacked

Load M/N-packed fp4 bytes from shared memory into a K-packed WMMA dot operand layout.

make_partitioned_dot_layouts

Create partitioned shared memory layouts and WMMA layout for a CDNA5 GEMM in order to avoid LDS partition conflicts.

scaled_downcast

Scale and convert FP16, BF16, or FP32 values to a low-precision MX format.

scaled_upcast

Upcast an fp4 or fp8 tensor and fold raw E8M0 scale payload into the CDNA5 scaled-upcast op.

wmma

Computes matrix multiplication a * b + acc using an AMD WMMA instruction.

wmma_scaled

AMD Scaled WMMA operation.

CachePolicy

Cache hints for gfx12 (RDNA4 and CDNA5) memory accesses, taken by the buffer ops and, on CDNA5, the async_copy and tdm ops.

PartitionedSharedLayout

Represents a partitioned shared memory layout that splits a tensor across multiple physical shared memory partitions.