How Nvidia GPUs work: from parallel threads to CUDA

10 steps · about 8 h 32 min · Intermediate

  1. 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.

  2. How Does a GPU Actually Work? (video, YouTube, 15 min)

    It adds the memory interface, the graphics pipeline and the idea of massive parallelism.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. learn cuda (repo, rshipley160 (GitHub), 2 h)

    This repo has tutorial articles, example programs and performance experiments for building solid CUDA fundamentals.

  9. Modal's GPU Glossary (reference, Modal, 40 min)

    It defines warps, memory hierarchy, occupancy and coalescing, the vocabulary you need before tuning code.

  10. 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.