← Back
Home › Systems › Hardware and datacenter

gpu

GPU architecture

NVIDIA H100, Blackwell

SystemTechniques · 1Primitives · 17 gpu Cache coherence protocolshardware-os · medium: MESI and MOESI, snooping vs directories: how cores keep caches consistent and what that costsCPU caches and the memory hierarchyhardware-os · low: Sizes, line widths and latencies of L1/L2/L3/DRAM on modern x86 and Apple M-series, and the data-layout rules that follow from them.›Network on chiphardware-os · low: On-chip mesh and ring interconnects: routers, virtual channels, deadlock-free routingMipmapping texture filteringgraphics · low: Mip pyramids, trilinear and anisotropic filtering, LOD selection from derivativesTriangle rasterizationgraphics · low: Triangle setup, edge functions, depth buffering for viewport renderingDram organizationhardware-os · low: Channels, ranks, banks, rows; row-buffer hits, refresh, timing parameters; DDR5 and HBMGpu memory coalescing bankinghardware-os · low: Coalesced global loads, shared memory bank conflicts, L2 and HBM bandwidth on GPUsPower management dvfshardware-os · low: DVFS governors, P- and C-states, race-to-idle, thermal throttlingRoofline modelhardware-os · low: Bound a kernel's speed by min(peak FLOP/s, arithmetic intensity × memory bandwidth) to know whether to optimize compute or data movement.›Simt warp schedulinghardware-os · low: SIMT execution: warps, divergence, occupancy and latency hiding on GPU SMsSystolic matrix unitshardware-os · low: Systolic arrays and tensor cores: dataflow of operands, tile shapes, accumulator precisionTiled matrix multiplicationml-training · low: Block GEMM into tiles held in shared memory and registers, so each byte loaded from DRAM feeds many FMAs; the core of fast GEMM.›Low precision number formatsnumerics · low: Bf16, fp16, fp8 (E4M3, E5M2), MX block formats and int4: ranges, rounding, scalingBounding volume hierarchyphysics · low: Binary tree of nested bounding boxes; prunes overlap and ray queries to O(log n) for any size distribution, and supports cheap insert/remove for moving objects.›Hamming codessignal-processing · low: Hamming and SECDED block codes for single-error correction in links and memoryMemory orderingconcurrency · low: What Relaxed, Acquire, Release and SeqCst atomics actually guarantee, what they cost on x86 and ARM, and which one each pattern needs.›SIMD programminghardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.›+ 1 more primitives

Similar systems

Share the most building blocks with this one.