tiny-gpu: A 13K-star executable GPU architecture course in under 15 Verilog files
techNmak · x · 2026-11-25
The open-source tiny-gpu project (13K GitHub stars) implements a fully educational GPU in fewer than 15 documented Verilog files, complete with working matrix addition/multiplication kernels, an ISA, and full kernel simulation with execution traces.
What you can study:
- How threads are grouped into blocks and dispatched to compute cores
- Per-thread registers and ALUs
- Instruction fetch, decode, and execution
- Memory request handling under limited bandwidth
- SIMT: parallel threads executing the same instruction on different data
It includes a small instruction set (arithmetic, memory ops, comparisons, branching), with architecture diagrams covering the device control register, dispatcher, multiple compute cores, cache, and global/program memory — an executable textbook for learning GPU internals from the ground up.
More from Infra
- Hunyuan 4 Flash runs locally after quantization: 58 TPS on a 4090D, 50 TPS on a 128GB Mac — viksit · 2026-11-25
- Developer adds a website AI assistant powered by Qwen3-8B running locally on a Spark — PMinervini · 2026-11-25
- UK has just 2GW of compute vs 50GW in the US, raising AI capacity concerns — dc_lawrence · 2026-11-25
- Memory prices are collapsing, and Gary Marcus quips that's the silver lining of the AI bust — GaryMarcus · 2026-11-25
- Windows Loudness Equalization reverse-engineered and ported to PipeWire — ThrowNotAway · 2026-11-25
- Open-source Agent Mesh: a Tailscale-like private network for agents — aigclink · 2026-11-25