A GEMM can have too few output tiles to occupy a GPU even when its reduction dimension contains substantial work. TLX.ops maintains kernel targets drawn from real workload shapes so that changes in application dimensions can feed back into performance and correctness validation.

Meta Contributors: Daohang Shi, Hongtao Yu, Lei Wang, Peng Chen, Nicholas Riasanovsky, Oleksandr Stashuk, Puyan Lotfi, Corbin Robeck, Wenyuan Chi, Alexey Loginov · AMD Contributors: Ivan Butygin, Bangtian Liu, Zhewen Yu, Aditya Kankariya, Nithin Meganathan, Stanley Winata, Shucai Xiao, Lei Zhang · 2026-12-01 · TLX.ops: Bridging Kernel Research and Real-World Performance

A workload contract for kernel changes

The shape list tests numerical correctness, performance and compile time. In a set of 422 Blackwell BF16 GEMM shapes, 38% had fewer 128×128 output tiles than SMs, most with K of at least 100,000. Faster arithmetic per tile cannot occupy idle SMs. Split-K distributes a reduction over multiple work items, writes their FP32 partial results to workspace and reduces them in a second kernel. The extra traffic purchases parallelism, a less attractive exchange for short reductions or already well-populated outputs.

Where architectures overlap work

On Blackwell, TMEM accumulators can be double-buffered to overlap the next tile’s multiply with the previous epilogue, provided two buffers fit. MI350x explicitly stages movement, LDS buffering and matrix work. With an odd number of K steps, the paired pipeline handles the even portion and a separate tail handles the remaining step. MI300x relies more heavily on direct register loads and compiler scheduling. The common contract is the shape and numerical result, while each implementation follows its device’s storage and synchronization capabilities.

The Blackwell GEMM pipeline separates operand loads, matrix multiplication and epilogue stores.View original ↗

The Blackwell GEMM pipeline separates operand loads, matrix multiplication and epilogue stores.

Reading the vendor-library comparison

Against cuBLAS or hipBLASLt, the demonstrated GEMMs peaked at speed ratios of 1.15 on Blackwell, 1.22 on Hopper, 1.40 on MI350x and 1.24 on MI300x. Each maximum belongs to an observed shape. Aggregate results use geometric means of per-shape ratios, while a deployment also depends on the frequency of each shape. The engineering evidence connects underfilled hardware or stalled stores to specific dimensions that can be retested when a kernel changes.

Normalization layout depends on the downstream reader

The Blackwell LayerNorm example addresses a different bottleneck. It computes row statistics in FP32 and, on eligible shapes, directly emits the FP8 payload and scale layouts needed by downstream GEMMs. One maximum reduction per 32×32 block supplies scales in two orientations. Keeping normalized values on chip avoids a BF16 intermediate write and read. At 8192×384 the kernel took 6.461 microseconds versus 8.653 for Quack. This gain comes from reuse at an operator boundary, distinct from the parallelism that Split-K buys.