Code · Systems · Ideas

Achint Mehta

Home / AI Arena / Inside the GPU

Inside the GPU

A graphics card is two kilograms of metal wrapped around a square of silicon holding 76 billion switches, and every one of them can only be on or off. This series builds a GPU up from that switch, in the spirit of Jon Stokes's Inside the Machine, starting one step earlier than he did: with the relay and the vacuum tube, what they were good at, why they could never be numerous enough, and how the transistor fixed that. Then logic gates and adders, the fetch-decode-execute loop, the memory wall, why a CPU and a GPU make opposite bets, the streaming multiprocessor with AMD's compute unit and Intel's Xe-core beside it, the memory hierarchy, tensor cores, CUDA, and NVLink. Then the real chips: three short histories, Nvidia's from the G80 to Ampere, ATI's and AMD's from the Radeon 9700 to the first exascale supercomputer, and Intel's from the i740 to Arc, how a chip is manufactured and what a frame is, and a part each on Ada Lovelace, Hopper, Blackwell and Vera Rubin, each followed by AMD's answer to it: RDNA, the MI300, the MI350, and the MI400 with its Helios rack, and by Intel's alongside two of them, the Arc cards and the Ponte Vecchio, Gaudi and Crescent Island accelerators. Then two parts that step back: where the watts go, from a flipping switch to a gigawatt campus, and the NPUs and TPUs that do the same arithmetic on different terms. One calculation, the neuron's w × x + b from ML Basics, travels with you the whole way. Most parts have an interactive demo.

This is the hardware layer under the ML Basics, LLM Basics, and How LLMs Talk series. It can be read on its own, and links back to those where the ideas meet.