30 views
0 likes
BONUS EPISODE — premiering with NVIDIA Episode 1, Sunday, November 15. CUDA is the name behind almost every AI headline of the last decade — and almost nobody who uses it has ever seen it. This episode fixes that, from the code up.
This bonus is the companion depth cut to NVIDIA Episode 1 of Reverse Engineered — the story of the machine, the moat and the pivot. The bonus teaches the code; Episode 1 tells you what the code built. Watch Episode 1: https://youtu.be/35ULKQJ8Ziw
Before 2007, using a graphics card for mathematics meant disguising arithmetic as drawings: data packed into textures, calculations written as pixel shaders, answers read back out of a picture. CUDA ended the disguise. This episode teaches the replacement properly — what a kernel is; how one written function becomes ten thousand parallel executions; how threads, blocks, grids and 32-thread warps actually run; and why the same code runs faster on a bigger chip without being rewritten. Then the proof: in 2012, a network trained in five to six days on two gaming cards, by hand-written CUDA. And then the part everyone skips: the libraries. From cuBLAS in the very first toolkit in 2007 to cuDNN in 2014 to today's CUDA-X collection, the solved problems compounded — until replacing CUDA meant replacing all of it. The challengers say so themselves: AMD's own manual answers "is it a drop-in replacement?" with one word, and this episode reads the challengers' documents — ROCm, SYCL, Triton, torch.compile — at their own word.
Send this to the developer in your life who calls CUDA every day through a framework and has never seen a kernel.
Chapters:
0:00 One Function, Ten Thousand Executions
4:02 The Key: A Question, a Bridge, a New Chip
8:00 The Mechanism: Threads, Blocks, Warps
16:16 The Proof: Six Days in Toronto
18:04 The Compounding: Libraries All the Way Down
22:07 The Challengers, in Their Own Words
27:17 The Platform: What CUDA Is Becoming
Sources are ledgered in the episode's production fact ledger: NVIDIA's CUDA Programming Guide and CUDA Toolkit release record; Buck et al., "Brook for GPUs" (SIGGRAPH 2004); Nickolls, Buck, Garland & Skadron, "Scalable Parallel Programming with CUDA" (ACM Queue, 2008); Krizhevsky, Sutskever & Hinton (NeurIPS, 2012); NVIDIA's cuDNN announcement (2014) and Chetlur et al. (2014); AMD ROCm/HIPIFY documentation and HIP FAQ; the Khronos Group's SYCL specification record; Tillet et al. on Triton (2019) and OpenAI's Triton release (2021); PyTorch 2.0's torch.compile documentation (2023); NVIDIA's CUDA-X library pages. Every performance figure in the episode is stated at the scope its source states it; the episode makes no market-share or developer-count claim.
#CUDA #GPU #NVIDIA #ParallelComputing #ReverseEngineered