What changed
AMD's MI455X GPU raises peak 4-bit matrix throughput four times over the MI355X, while HBM bandwidth increases about three times. This necessitates optimized GEMM kernels to align compute capabilities with memory supply.
What this means in practice
The MI455X has 256 workgroup processors (WGPs), each with four SIMD32 units, achieving a peak dense MXFP4 rate of 40.3 PFLOPS at 2.4 GHz. This results in approximately 64K FP4 operations per clock per WGP, compared to 16K on the MI355X. For an FP4 GEMM with a K-tile of 256, each K-step requires 128·M bytes of A and 128·N bytes of B, demanding 2·M·N·256 operations. At 64K operations per clock, this takes 2·M·N/128 cycles. The most favorable tile size, 256 × 256, requires 128 bytes per cycle per WGP, while a 128 × 128 tile demands twice that. Rectangular tiles require the same MMA cycles as square tiles of equal area but move more bytes, increasing demand.
Limitations and availability
The kernel design focuses on balancing supply and demand by using workgroup clusters for shared operand loads, loading with the Tensor Data Mover (TDM) in full-width requests, and ensuring efficient LDS access. The shipped kernels use a 256 × 256 tile with a 4 × 4 cluster for large shapes, and their names in f4gemm.csv carry both (256x256_4x4). The cluster is on by default for compute-bound GEMMs, but for small, bandwidth-bound GEMMs, it makes little difference. The TDM is an asynchronous engine local to the WGP, moving tensor tiles between global memory and LDS without staging through vector registers. The kernels make every A and B request 256 bytes, and both SIMD pairs are used to spread requests until both carry the same payload. LDS access is optimized by placing A and B buffers in different partitions to avoid conflicts.
