skip to content
Victor Guerra

Notes / GPU — Hardware & Execution Model

Modern GPU Programming for MLSys — Reading Index

Updated Aug 17, 20261 min read
Table of Contents

Notes taken while working through Modern GPU Programming for MLSys (MLC Community). The book goes from hardware, to programming model, to complete state-of-the-art kernels, targeting the NVIDIA Blackwell architecture and using the TIRx Python DSL for runnable examples.

Each chapter gets its own note. Unlinked entries below are chapters not written up yet.

Part I — Understanding the GPU

ChTopicNote
1GPU execution modelgpu-execution-model
2What makes a kernel fastgpu-kernel-performance
3Data layout and its notationgpu-data-layout
4Evolution of tensor core data layoutsgpu-tensor-core-layouts
5Async data movement: TMAgpu-tma-async-copy
6Blackwell tensor core: tcgen05.mmagpu-blackwell-tensor-core
7Tensor memory (TMEM)gpu-tensor-memory-tmem
8Async coordination: mbarriergpu-mbarrier
9Advanced scheduling: cluster launch controlgpu-cluster-launch-control

Part II — TIRx

ChTopicNote
1Introduction to TIRxtirx-basics
2TIRx layout APItirx-layout-api

Part III — GEMM: tiled to SOTA

ChTopicNote
1Building a tiled GEMMgpu-gemm-tiled
2Pipelining GEMM with TMAgpu-gemm-pipelining
3Scaling GEMM with warp specialization and clustersgpu-gemm-warp-specialization

Part IV — Flash Attention 4

ChTopicNote
1Flash Attention 4flash-attention-4

Reference

Language reference, compiler internals, and debugging warp-specialized kernels — gpu-debugging-kernels for anything worth keeping.

Why this book connects to the rest of these notes

The kernels it builds are the ones underneath everyday training and inference: GEMM is the workhorse of transformer-architecture, and Part IV is the fused implementation of self-attention. The memory-layout material extends the host-side view in tensor-memory-layout down to what the hardware actually does.