Modern GPU Programming for MLSys

Tianqi Chen & CMU MLC Group · Open textbook · 27 works · 251 pages
Provenance & compiled volume Details
Corpus totals 27 works · 251 pages · 79,465 words
Compiled PDF volume Modern GPU Programming for MLSys (10.2 MB)
Content integrity (SHA-256)

Table of Contents

27 shown · 27 total works
  1. 01 Modern GPU Programming For MLSys 4 min· pp. 5–7
  2. 02 GPU Execution Model 8 min· pp. 8–13
  3. 03 What Makes a Kernel Fast 13 min· pp. 14–21
  4. 04 Data Layout and Its Notation 18 min· pp. 22–38
  5. 05 The Evolution of Tensor Core Data Layouts 15 min· pp. 39–49
  6. 06 Async Data Movement: TMA 10 min· pp. 50–56
  7. 07 Blackwell Tensor Core: tcgen05.mma 14 min· pp. 57–66
  8. 08 Tensor Memory (TMEM) 8 min· pp. 67–72
  9. 09 Async Coordination: mbarrier 8 min· pp. 73–78
  10. 10 Advanced Scheduling: Cluster Launch Control 8 min· pp. 79–83
  11. 11 Introduction to TIRx 9 min· pp. 84–90
  12. 12 TIRx Layout API 15 min· pp. 91–103
  13. 13 Building a Tiled GEMM 24 min· pp. 104–118
  14. 14 Pipelining GEMM with TMA 25 min· pp. 119–134
  15. 15 Scaling GEMM with Warp Specialization and Clusters 36 min· pp. 135–158
  16. 16 Flash Attention 4 55 min· pp. 159–189
  17. 17 Overview 1 min· p. 190
  18. 18 TIRx Language Reference 1 min· p. 191
  19. 19 Parser utilities 2 min· pp. 192–193
  20. 20 Data types and expressions 3 min· pp. 194–195
  21. 21 Buffers and memory 12 min· pp. 196–203
  22. 22 Control flow 2 min· pp. 204–205
  23. 23 CUDA C++/PTX intrinsics 4 min· pp. 206–208
  24. 24 Measuring and Analyzing GPU Kernel Performance 51 min· pp. 209–238
  25. 25 Compiler Internals 1 min· p. 239
  26. 26 TIRx Lowering Pipeline 7 min· pp. 240–244
  27. 27 Debugging Warp-Specialized Kernels 10 min· pp. 245–251