Unit 1 of 10 · about 4 hours · explain
Architecture documents, generation differences and vendor peaks as bounds
A peak number is a ceiling, not a result. Reading the right document tells you whether a claim is even possible before you spend a day measuring it.
You'll be able to
- Explain which document answers which question: brief for system architecture, tuning guide for optimization, ISA for instructions, counter docs for measurement.
- Contrast Ampere, Hopper and Blackwell on Tensor-Core formats, TMA, thread-block clusters and memory using the compute-capability tables.
- Derive a vendor-peak bound from per-SM throughput times SM count times clock, and label every assumption that makes it a bound rather than a measurement.
Covers
Read
In this order, only the parts listed
0 of 4 done
- Compute Capabilities: feature and specification tablesCUDA Toolkit and Architecture Tuning Guides
Section 5.1.3 (CUDA 13.4.2 documentation): read the 8.x column of Table 29 and the 8.6 columns of Tables 30 to 33 against the 9.0 and 10.x columns for Tensor-Core dtypes, TMA, thread-block clusters and shared memory; Section 5.1.1 for the runtime query triplet
- Arithmetic instruction throughputs as peak sourcesCUDA Toolkit and Architecture Tuning Guides
Section 12.1.1, Table 5: the 8.6/8.9 column for 32-bit floating-point add, multiply and multiply-add (128 results per clock per multiprocessor); the note that throughputs are per multiprocessor and max theoretical
- Hardware generations and the number-as-hypothesis ruleAI Systems Performance Engineering - Chapters 2, 19 and 20 and the Appendix checklist
Chapter 2, AI System Hardware Overview: The CPU and GPU Superchip, NVIDIA GPU Tensor Cores and Transformer Engine, and A Glimpse into the Future
- Current-hardware map and Source PolicyAI Performance Engineering - Hardware, Frontier and Source Policy
Section 6, Current hardware: follow one architecture entry to its ISA or tuning guide; Source Policy: vendor peak numbers are not performance measurements, and performance claims need hardware, workload, precision, baseline and correctness method
Use the list only to find primary documentation. Do not cite the list itself for numbers.
Focus on
- Brief, tuning guide, ISA and counter documents answer different questions. A peak in a brief is an upper bound; only a counter on your GPU is a measurement.
- Capability tables group columns by compute-capability number (8.x or 8.6, 9.0, 10.x), not by marketing name. Section 5.1.2 states that features introduced with an architecture are intended to stay available on later ones, which is why a Yes spans every column after its introduction; architecture-specific features are the exception.
- Table throughputs are per multiprocessor and max theoretical, achievable only with specific instruction sequences. Multiply by SM count and clock, and count one multiply-add result as two operations.
- Relative to Ampere, Hopper adds TMA, thread-block clusters, FP8 Tensor-Core input (also on Ada, 8.9) and fourth-generation NVLink; Blackwell adds fifth-generation NVLink and Blackwell-only matrix instructions. New columns add features; old guarantees stay.
Common mistakes · 3
- Quoting a Table 29 Yes as performance. Availability is not speed; a Yes in the 8.x and 9.0 columns can hide an order of magnitude.
- Mixing GB with GiB when checking a bandwidth bound. Datasheet figures such as the RTX 3050's 168 GB/s are decimal gigabytes; divide measured bytes by time in the same unit.
- Reading a B200 or H100 number as your result. A peak from another GPU bounds nothing on yours; re-derive with your SM count from
prop.multiProcessorCountand your clock.
Try it yourself
Closed-book, before checking anything
sm_86 RTX 3050 6 GB. Table 5 gives FLOP/s at SM clock : at the 1470 MHz reference boost and at the 2100 MHz maximum that nvidia-smi -q -d CLOCK reports. The 96-bit bus at 14e9 transfers/s gives bytes/s. Place the ridge point (about 40 FLOP/byte at the reference boost, 58 at the maximum) and name the clock your bound assumes: under load GPU Boost ran the card near 1.94 GHz, above its reference boost. Then redo all three numbers with your GPU's SM count, clocks and bus.Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.Your GPU reports compute capability 8.6. Does it have an FP8 Tensor-Core input path?Answer
No. The 8.6 column of the Tensor-Core dtype table shows no FP8 input; FP8 appears in later columns. An FP8 claim for this card needs a fallback path, not a peak quote.
2.Derive the FP32 peak of your GPU from Table 5, and say which clock the bound should use.Answer
Table 5 gives 128 multiply-add results per clock per multiprocessor for 8.6 and 8.9, and each counts as two operations. For the 18-SM example card, FLOP/s at the 1470 MHz reference boost. That clock is typical, not a ceiling, so a bound uses the highest clock the card runs (2100 MHz on the RTX 3050 6 GB, ) and names it. For your GPU, use
prop.multiProcessorCount, its own clocks and its per-SM rate from Table 5.3.Show the datasheet bandwidth arithmetic for your GPU and state the unit.Answer
For the example card, a 96-bit bus carries 12 bytes per transfer at 14e9 transfers/s, so bytes/s, decimal GB/s; use your own bus width and transfer rate the same way. Compare against measured bytes per second in the same unit.
4.A post reports 3 TB/s on a newer GPU and claims your kernel should reach half of it. What is wrong?Answer
A peak from another GPU is not your bound. The example card is bounded by 168 GB/s, so half of 3 TB/s is unachievable there; the comparison needs your hardware, your workload and your measured counters.
You're done when
You can derive both peaks and the ridge point for your GPU from the tables without notes, and you reject a cross-GPU peak comparison on sight.
Only when you can do this without notes.
Leads to
Notes
Resources · 3 for this unit, 11 more in the section
- AI Systems Performance Engineering - Chapters 2, 19 and 20 and the Appendix checklistChris Fregly · primary
Read Chapter 2 for hardware generations, Chapters 19 and 20 on adaptive engine optimization and AI-assisted optimization, and use the Appendix checklist as an audit list for the final project. Treat every performance number as a hypothesis requiring your own evidence.
- AI Performance Engineering - Hardware, Frontier and Source PolicyWafer · reference
A dated map of current hardware and frontier work. Apply its Source Policy to every final claim, and use the hardware and frontier sections only to find primary documentation.
- CUDA Toolkit and Architecture Tuning GuidesNVIDIA · reference
Use the current toolkit root, release notes and the tuning guide matching the measured GPU. Pin the document and toolkit versions, verify capability checks and rerun any claim affected by compiler or architecture change.
Also in this section
- GPU Microbenchmark and Kernel Suite - Final EvaluationRoadmap-Final · required
Complete Milestones C through F: CUDA and Triton kernel suite, failure injection, model-versus-profile reconciliation, strong baselines, real integration, full shape matrix, dispatch and fallback defense, clean reproduction and negative results.
- Performance Engineering and GPU Programming CheckpointRoadmap-Final · support
Use the checkpoint as the final adversarial assessment after the source-derived route. Pass the real kernel, compiler or communication modification and end-to-end evidence clauses; ignore its ordering where it conflicts with this track.
- KernelBench-VerifiedKernelBench-Verified Authors · required
Study the evaluator hardening and baseline-parity failures found in the original benchmark. Run a very small task slice or port its adversarial testing ideas into the project evaluator; do not optimize for aggregate benchmark score.
- SOL-ExecBenchNVIDIA · support
Inspect how correctness and performance are compared with a hardware speed-of-light model. Apply one attainable-efficiency analysis to a project kernel and explain missing hardware or model assumptions.
- MLPerf EndpointsMLCommons · support
Read the endpoint-level scenario and load-generation rules. Borrow the workload and result-boundary discipline for the integrated benchmark without claiming an official MLPerf result.
- MIT 6.S894 Accelerated Computing (Fall 2025) - Lecture 10MIT · support
Use Lecture 10 (Accelerated Computing Beyond NVIDIA and CUDA) for AMD GPUs, TPUs, NPUs and higher-level kernel languages as portability vocabulary.
- Modern GPU Programming for MLSysMLC · depth
Use the Blackwell GEMM and Flash Attention path as a real architecture-specific reconstruction target if compatible hardware is available. Otherwise produce a static mechanism audit and leave all performance claims open.
- KernelBench - benchmark toolkit and task suiteScalingIntelligence · support
Clone the repository and check one Level 1 problem with
scripts/run_and_check.pyin local mode; readEVAL.mdfor the correctness and timing guidance. Do not chase the aggregate score. - Etalon - holistic evaluation for LLM inferenceGeorgia Tech, Microsoft Research India and Intel AI Lab · support
Read Section 2.2 for TTFT and TPOT pitfalls, then the fluidity-index design (Section 4.1) for deadline-based, SLO-qualified capacity.
- ROCm Composable KernelAMD · support
Read the repository
READMEfor the tile-based programming model, Tensor Coordinate Transformation and the four CK layers; open one tiled operator and map each CUDA term to its CK counterpart. - DistServe: Disaggregating Prefill and Decoding for Goodput-optimized LLM ServingZhong et al. (OSDI 2024) · support
Read Section 1 with Figure 1 for per-GPU goodput: the highest request rate served while a target share of requests meets the TTFT and TPOT SLOs.