Modern GPU Programming for MLSys
Key point
A GPU programming guide covering Blackwell architecture optimization techniques, based on a Carnegie Mellon University course, has been released.
Details
The performance of modern AI workloads is determined by the quality of core GPU kernels such as Attention kernel, LLM prefill/decode, and MoE layers. This guide goes beyond simple optimization techniques to cover how to understand and leverage the complex memory structures and execution units of the latest GPU architectures.
Key learning content includes the following:
- Understanding GPU hardware: Hardware-level concepts such as data layout, asynchronous data movement (TMA), and asynchronous coordination (mbarriers)
- Using TIRx: Using a Python DSL that allows writing executable code while retaining hardware control
- Implementing core kernels:
- GEMM: Optimization applying TMA pipelining, persistent scheduling, warp specialization, and more
- Flash Attention 4: Implementation of a state-of-the-art attention kernel including online softmax rescaling, GQA (Grouped Query Attention), and more
This material primarily targets Blackwell-generation GPUs and provides a systematic, step-by-step learning path for building high-performance kernels.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.