New 3-part WMMA guide for AMD RDNA 4 architecture GPUs!

The guide consists of three parts which aims to provide:

  • Part 1: Fused GEMMs for deep learning acceleration

    • Practical guide to fusing GEMMs on AMD RDNA™ 4 architecture, covering WMMA layout, a transpose-by-swapping A/B technique, HIP sample code, and hipBLAS-verified results used in Llama.cpp.
  • Part 2: Wide WMMA for max memory bandwidth utilization

    • Achieve peak AMD RDNA™ 4 architecture memory bandwidth for low-precision GEMM by fusing WMMA to double the K dimension, enabling 128-bit loads for FP8/INT8, and matching hipBLAS results bit-for-bit.
  • Part 3: In-register matrix transpose techniques

    • Learn how to implement fast in-register matrix transpose on AMD RDNA™ 4 architecture GPUs with a WMMA-based identity trick, delivering a lightweight, memory-free alternative proven in Llama.cpp.

:link:Read all three parts:

[WMMA guide for AMD RDNA 4 architecture GPUs]

2 Likes