Why one kernel runs at 90% of peak and another at 5%: the roofline model, memory coalescing, occupancy and divergence, profiling with Nsight, and writing fast kernels in Triton without dropping to raw CUDA.
Lessons#
| # | Lesson | Time |
|---|---|---|
| 6.a | Bandwidth and the Roofline on GPU | 60 min |
| 6.b | Coalescing and Access Patterns | 75 min |
| 6.c | Occupancy and Warp Divergence | 75 min |
| 6.d | Profiling CUDA | 90 min |
| 6.e | Triton Kernels | 90 min |
Previous: GPU Programming · Next: AI Hardware