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, the memory hierarchy, tensor cores, CUDA, and NVLink. Then the real chips: a short history from the G80 to Ampere, and a part each on Ada Lovelace, Hopper, Blackwell, and Vera Rubin. 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.