How Nvidia GPUs work: from parallel threads to CUDA
10 steps · about 8 h 32 min · Intermediate
- GPU Explained. Basics of The Graphics Processing Unit (video, YouTube, 12 min)
It starts from what Nvidia actually makes, so you know what a GPU is before the technical steps.
- How Does a GPU Actually Work? (video, YouTube, 15 min)
It adds the memory interface, the graphics pipeline and the idea of massive parallelism.
- Streaming Multiprocessor (reference, Modal GPU Glossary, 10 min)
The streaming multiprocessor is the core building block of an Nvidia GPU, and this page puts real H100 numbers on it.
- Tutorial 01: Say Hello to CUDA (tutorial, CUDA Tutorial, 30 min)
You write your first kernel by turning a CPU vector addition into a GPU one, and you meet host and device memory.
- Learn GPU Programming in Your Browser (interactive, Answer.AI, 45 min)
The WebGPU Puzzles run in your browser, so you can practise threads and blocks without owning an Nvidia card.
- GPU Puzzles (repo, Sasha Rush (GitHub), 1 h 30 min)
These puzzles cover thread indexing, blocks and shared memory using real CUDA kernels, with a visual debugger.
- CUDA Programming Guide (doc, NVIDIA, 1 h)
Nvidia's official guide. Read the opening programming-model chapter to see the ideas behind the puzzles formally.
- learn cuda (repo, rshipley160 (GitHub), 2 h)
This repo has tutorial articles, example programs and performance experiments for building solid CUDA fundamentals.
- Modal's GPU Glossary (reference, Modal, 40 min)
It defines warps, memory hierarchy, occupancy and coalescing, the vocabulary you need before tuning code.
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklog (blog, Simon Boehm, 1 h 30 min)
This last step takes a naive matrix multiply and optimises it step by step. It shows how the hardware ideas turn into speed, which is what AI workloads depend on.