GPU Architecture & AI Hardware
NVIDIA GPU architecture from streaming multiprocessors through tensor cores, HBM memory, NVLink, and Blackwell-class superchips. Hardware-software codesign and "mechanical sympathy" for AI workloads.
Overview
Throughput, not latency
Understanding GPU architecture at the hardware level is the prerequisite for every optimization decision in AI systems. CPUs are built for low-latency serial execution. GPUs are throughput processors: they give up single-thread performance to run thousands of threads at once and hide memory latency through massive parallelism.
The software and the hardware share one hierarchy. A grid is one kernel launch. It is divided into thread blocks, and each block runs on exactly one streaming multiprocessor (SM). A block's threads run as warps, groups of 32 threads in lockstep. The SM holds the CUDA cores, tensor cores, load/store units and shared memory / L1 that do the work. Behind all the SMs sits the L2 cache, shared by every SM, and behind that the HBM. This chapter walks down that hierarchy, then out to the links between GPUs.
Interview questions
- Explain the GPU execution hierarchy from grid to thread and how it maps to hardware.
- What is the roofline model and how do you use it to diagnose a slow kernel?
- Compare NVLink, InfiniBand, and PCIe for multi-GPU AI systems.
Sign up free to read the full topic
More AI Infrastructure topics
- EDA Licenses & Compute Farms
- Embedded Linux & BSP Builds at Scale: Yocto, Caches & Compliance
- Emulation & FPGA Prototyping Pipelines
- Firmware Build, Signing & Field Release
- Firmware CI with Hardware in the Loop
- GitOps Release Promotion for the Accelerator Stack
- GPU Cluster Fabrics: InfiniBand & RoCE
- GPU Driver & Software Stack Release Validation
- GPU Fleet Health: XID Errors, ECC & DCGM
- GPU Node Bring-up & Burn-in
- GPU Quotas, Utilization & Chargeback On-prem
- GPU Virtualization: Passthrough, vGPU, SR-IOV & MIG in VMs
Start free on Cariara · Coding problems · System design studio