Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Architecture Metrics Reference
  • Workload Taxonomy for Architects
  • Architecture Glossary
  • Computer Architecture Cheatsheet
  • Pipeline Fundamentals14
  • Memory Hierarchy15
  • NoC and Interconnect Architecture6
  • Coherency and Memory Ordering9
  • Performance Analysis9
    • Performance Method: Counters, Top-Down and Triage
    • Roofline and Tuning
      • Roofline Foundations
      • Placing Kernels on the Roofline
      • Tiling Moves Points Right
      • Roofline Limits and Amdahl's Law
  • Accelerator Architectures6
  • SoC Architecture Tradeoffs9
  • Architecture Interview Prep14
Loading lesson

‹Performance Analysis
  1. Topics
  2. Computer Architecture
  3. Performance Analysis
  4. Roofline and Tuning

Computer Architecture · All levels

Roofline and Tuning

Roofline bounds, arithmetic intensity and the tuning moves that shift a kernel toward its ceiling.

  • 4topics
  • 4lessons

Roofline bounds kernel throughput by compute peak and memory bandwidth. Arithmetic intensity decides which roof binds, and tuning moves the point.

Roofline sketch with a memory-bound dot product and a compute-bound tiled GEMM.
The roofline plot: a bandwidth slope up to the ridge point, then a flat compute roof.

Lesson

What it covers

Roofline foundations

Intensity, the min bound, the ridge point and sustained ceilings.

Placing kernels

Three worked placements, per-level ceilings and a calculator model.

Tiling moves points

Reuse shifts intensity right, with a worked tiling example.

Roofline limits and Amdahl

Latency gaps, contention, power caps and Amdahl's law.

Check yourself A kernel reports high compute utilization yet runs far below peak. Which roofline question do you ask first?

Ask for its arithmetic intensity at the DRAM boundary. High ALU activity with low intensity means the DRAM slope binds, not the compute roof.

Interview

State the bound in one breath: attainable throughput is the minimum of peak compute and intensity times bandwidth, so every proposal must name which roof it moves.

PreviousNext: Roofline Foundations

Up next

Up nextRoofline Foundations

Sign in to save progress

Practice this lessonReport an error

See also

  • Performance Method: Counters, Top-Down and Triage