Unit 10 of 10 · about 4 hours · measure, explain

Workload-weighted impact, negative results and the design defense

A kernel speedup is not a result until the workload feels it. Impact, losses and the defense decide whether the change ships.

You'll be able to

  • Compute workload-weighted end-to-end impact from kernel share and speedup, with the attainable bound stated first.
  • Report negative results and losing regimes with the same rigor as wins, and keep them in the tables.
  • Defend the design against stronger baselines, alternate explanations and maintenance cost.

Covers

Workload-weighted endpoint or training-step impactNegative result, losing regime and portability limitDefense against stronger baselines, alternate explanations and maintenance cost
1

Read

In this order, only the parts listed

0 of 3 done

  1. Workload-weighted report and design defenseGPU Microbenchmark and Kernel Suite - Final Evaluation

    Deliverables: workload-weighted comparison report including negative results; Design-defense questions: why the custom kernel loses on some shapes, and when a library or compiler path is preferred

  2. What honest aggregates look likeKernelBench-Verified

    Section 3 with Figure 1 and Tables 1 to 2: 0.88x pooled against 1.43x naive with none above 1x, and the memory-speedup tradeoff (28% of the best model's correct kernels raise peak memory); Appendix F, BF16 Evaluation, with Table 5 and Figure 4: the BF16 control reversing the Level 2 verdict

  3. Pass condition for the final defensePerformance Engineering and GPU Programming Checkpoint

    Pass condition: the end-to-end result and negative regimes explained quantitatively, surviving strong library and compiler baselines

2

Focus on

  • Weight by workload frequency before celebrating. A 3x win on 10 percent of runtime is about 7 percent end to end; the bound comes first and the integration must match it.
  • Publish losing rows with the same precision as wins. A table without losses is a selection, and it cannot define the dispatch boundary.
  • Strong baselines include precision-enabled libraries and compiler paths. The BF16 control turned 0.85x into 1.63x, which reframes every FP32-only claim.
  • Maintenance cost belongs in the defense. A small win that only its author can debug loses to the library path.
Common mistakes · 3
  • Fastest-on-one-shape as the headline. The shape matrix is the result; the best cell is a footnote.
  • Counting a precision reduction as kernel speedup. A TF32, BF16 or FP8 change is a precision choice; report it separately with quality evidence.
  • Hiding memory cost. Speed with more memory is a tradeoff, not a win; report both, as the memory-speedup scatter does.
3

Try it yourself

Closed-book, before checking anything

Closed-book, compute the end-to-end bound for two share and speedup pairs, sketch the workload-weighted table with one losing row kept, and write the three-question defense (stronger baseline, alternate explanation, maintenance cost).
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.Your kernel is 3x faster on a path that takes 10 percent of runtime. What is the end-to-end gain?Answer

    : about 7 percent. State the bound first; the measured integration must then match it within uncertainty.

  2. 2.Why keep a shape where the library wins?Answer

    It defines the dispatch boundary and the fallback. Without it the report cannot say when to use the custom path, and the defense cannot answer when the library is preferred.

  3. 3.The BF16 control reverses an FP32 conclusion. What does that teach about baseline choice?Answer

    Match the precision the production stack actually runs. An FP32-only comparison handicaps the baseline when deployment uses Tensor-Core paths.

  4. 4.Name the three skeptical questions your defense must answer.Answer

    Is there a stronger baseline (precision-enabled library or compiler path)? Is there an alternate explanation (shapes, cache, clocks, cherry-picking)? What do maintenance and portability cost?

You're done when

Your report headline is workload-weighted, its tables keep losses, and it survives the three skeptical questions against the strongest baseline you could configure.

Only when you can do this without notes.

Leads to

Notes

Resources · 3 for this unit, 11 more in the 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.

Also in this 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.

  • 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.

  • 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.

  • 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.py in local mode; read EVAL.md for 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 README for 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.