browser baker • chromium contributor • enjoys compilers, systems, teaching • director of engineering: ai & systems @visteon • prev founding eng @browsercompany
GPU architecture | LLM Inference Handbook
Add this to your LLM learning resource bundle.
"Before writing or tuning GPU kernels, you need a working model of how a GPU runs code. Without it, suggestions like “increase occupancy” or "reduce shared memory bank conflicts" are just a set of rules to memorize. You don't fully understand when they apply and when they don't.
This section explains modern GPU architecture at the level needed for kernel work. The details lean toward NVIDIA hardware because CUDA dominates much of the LLM inference ecosystem today. However, the core concepts apply broadly to AMD GPUs and other parallel accelerators as well."