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

  • How to Use This Course
  • AI-VLSI Metrics Reference
  • AI-VLSI Glossary
  • Reading Path
  • ML Math Foundations61
  • Neural Networks Basics61
  • Training Data Pipeline61
  • AI Compute Hardware61
    • CPU, GPU, TPU, NPU Landscape
    • Memory Bandwidth & Roofline
      • Memory Bandwidth & Roofline: Mechanism
      • Memory Bandwidth & Roofline: Inputs & Outputs
      • Memory Bandwidth & Roofline: Reports & Metrics
      • Memory Bandwidth & Roofline: Debug Playbook
      • Memory Bandwidth & Roofline: Worked Example
      • Memory Bandwidth & Roofline: Pitfalls & Red Flags
      • Memory Bandwidth & Roofline: Interview Drills
      • Memory Bandwidth & Roofline: Review Checklist
      • Memory Bandwidth & Roofline: Theory Deep Dive
      • Memory Bandwidth & Roofline: Design Space
      • Memory Bandwidth & Roofline: Expanded Case Study
      • Memory Bandwidth & Roofline: Step-by-Step Walkthrough
      • Memory Bandwidth & Roofline: Comparison Matrix
      • Memory Bandwidth & Roofline: Software / Programmer View
      • Memory Bandwidth & Roofline: Silicon PPA Impact
    • Precision & Quantization
    • Inference vs Training Silicon
    • AI Compute Hardware: Tricky Q&A
  • Accelerator Architecture61
  • AI in VLSI Workflows61
  • Edge Deployment & MLOps61
  • AI-VLSI Interview Prep4
  • AI Basics for VLSI Engineers Cheatsheet
Loading lesson

‹AI Compute Hardware
  1. Topics
  2. AI for VLSI
  3. AI Compute Hardware
  4. Memory Bandwidth & Roofline

AI for VLSI · All levels

Memory Bandwidth & Roofline

AI Compute Hardware: Roofline analysis links arithmetic intensity to memory bandwidth limits, exposing whether kernels are compute-bound or memory-bound.

  • 15topics
  • 15lessons

Topics in this section

  1. 1Memory Bandwidth & Roofline: Mechanism1 lesson
  2. 2Memory Bandwidth & Roofline: Inputs & Outputs1 lesson
  3. 3Memory Bandwidth & Roofline: Reports & Metrics1 lesson
  4. 4Memory Bandwidth & Roofline: Debug Playbook1 lesson
  5. 5Memory Bandwidth & Roofline: Worked Example1 lesson
  6. 6Memory Bandwidth & Roofline: Pitfalls & Red Flags1 lesson
  7. 7Memory Bandwidth & Roofline: Interview Drills1 lesson
  8. 8Memory Bandwidth & Roofline: Review Checklist1 lesson
  9. 9Memory Bandwidth & Roofline: Theory Deep Dive1 lesson
  10. 10Memory Bandwidth & Roofline: Design Space1 lesson
  11. 11Memory Bandwidth & Roofline: Expanded Case Study1 lesson
  12. 12Memory Bandwidth & Roofline: Step-by-Step Walkthrough1 lesson
  13. 13Memory Bandwidth & Roofline: Comparison Matrix1 lesson
  14. 14Memory Bandwidth & Roofline: Software / Programmer View1 lesson
  15. 15Memory Bandwidth & Roofline: Silicon PPA Impact1 lesson
On this page

    What this topic teaches

    Memory Bandwidth & Roofline turns AI concepts into VLSI-ready engineering decisions. Roofline analysis links arithmetic intensity to memory bandwidth limits, exposing whether kernels are compute-bound or memory-bound. The practical challenge is proving value with reproducible evidence, bounded risk, and explicit ownership.

    The senior-engineer question

    When operational intensity, achieved TOPS, and bandwidth utilization moves, can you identify the failing layer, the mechanism, the artifact, and the owner who can close risk with a measurable fix?

    Diagram
    AI-VLSI FLOW — Memory Bandwidth & Roofline
    
    problem framing
          |
          v
    data + model definition
          |
          v
    training / optimization
          |
          v
    compute-hardware mapping
          |
          v
    deployment + validation
    
    Primary metric: operational intensity, achieved TOPS, and bandwidth utilization

    Picture the system

    Start each review with an architecture sketch before opening dashboards. These diagrams are designed for design reviews and interview whiteboards.

    Roofline interpretation

    Diagram
    ROOFLINE
    
    performance
       ^
       |      compute ceiling
       |     /
       |    /
       |---/---------------- memory ceiling
       +--------------------> operational intensity
    
    Low intensity kernels are bandwidth-bound.

    Tensor and data path

    Diagram
    TENSOR / PIPELINE MAP — Memory Bandwidth & Roofline
    
    feature source -> preprocessing -> tensorized input
          |                             |
          +---- shape + scale checks ---+
                        |
                        v
                model execution / inference
    
    Shape and scaling discipline decides correctness and portability.

    Training and update loop

    Diagram
    TRAINING TIMELINE — Memory Bandwidth & Roofline
    
    time --->
    data batch      __/--/--/--/--/--/--/--
    forward pass    ____/--/--/--/--/--/---
    backward pass   ________/--/--/--/-----
    optimizer step  ____________/--/--/----
    eval checkpoint _____________/--/-------
    
    Convergence depends on stable loop timing and signal quality.

    Compute limit lens

    Diagram
    ROOFLINE LENS — Memory Bandwidth & Roofline
    
    performance
       ^
       |                compute bound region
       |               /
       |              /
       |-------------/---------------- memory bound region
       +----------------------------------------------> operational intensity
    
    Use this to decide compute optimization vs memory optimization.

    Ownership layers

    Diagram
    AI-VLSI OWNERSHIP LAYERS — Memory Bandwidth & Roofline
    
    layer                    owns                               typical failure
    ---------------------    --------------------------------   ----------------------------
    problem framing          metric + acceptance criteria       wrong objective target
    model + training         representation + optimization      unstable or biased model
    hardware mapping         dataflow + memory + precision      bandwidth stalls / mismatch
    deployment stack         runtime + firmware + drivers       latency jitter / incompatibility
    governance               monitoring + rollback + signoff    silent drift in production

    Evidence to collect

    • Primary metric: operational intensity, achieved TOPS, and bandwidth utilization.

    • Primary artifact: roofline plot, kernel profile report, and memory traffic breakdown.

    • Owners to bring into review: performance engineer, compiler owner, accelerator architect.

    • One workload slice where behavior regressed and one where it held.

    • One profile view that separates model issue from runtime/hardware issue.

    Ownership map

    Diagram
    OWNERSHIP MAP — Memory Bandwidth & Roofline
    
    artifact focus         owner
    ------------------     ----------------------------
    modeling          performance engineer
    architecture      compiler owner
    integration       accelerator architect
    
    Production issues happen when ownership is assumed, not declared.

    Subpages in this topic

    Each topic is taught across mechanism, inputs/outputs, reports, debug, worked example, pitfalls, interview, checklist, theory, design space, expanded case study, walkthrough, comparison matrix, software view, and silicon impact.

    Key takeaways

    • Always map ML metrics to engineering decisions and release risk.

    • Separate data/model issues from hardware/runtime bottlenecks before fixing.

    • Use reproducible artifacts and owner signoff for every rollout decision.

    Common pitfalls

    • Benchmark wins with no signoff correlation.

    • Ignoring calibration and drift when deploying quantized models.

    • Shipping without a rollback and ownership matrix.

    AI-VLSI deep dive

    Throughput claims are meaningless without roofline and bandwidth context.

    Concept diagram

    Diagram
    COMPUTE ANALYSIS
    
    workload profile -> roofline -> precision policy -> target silicon

    Metric graph

    Diagram
    EFFICIENCY DRIVERS
    
    compute utilization    ██████
    memory utilization     █████████
    precision efficiency   ███████

    Reports and artifacts

    • platform benchmark matrix

    • roofline chart

    • precision sweep

    • latency/power dashboard

    Mini case study

    Kernel optimization shifted from compute tuning to memory tiling after roofline analysis.

    Debug branches

    • Classify compute vs memory bound

    • Compare precision tiers

    • Align platform to SLA

    Senior review question

    Ask: what evidence connects this ML claim to a concrete VLSI workflow decision and owner signoff?

    Key takeaways

    • Every AI claim should map to a measurable engineering outcome.

    • Validate both model quality and hardware/runtime feasibility before adoption.

    Common pitfalls

    • Optimizing benchmark metrics that do not correlate with signoff goals.

    • Ignoring data drift and calibration after deployment.

    • Shipping ML workflows without clear rollback ownership.

    Execution drill pack 1

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 1
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 2

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 2
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 3

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 3
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 4

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 4
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 5

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 5
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 6

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 6
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>

    Execution drill pack 7

    Use this pack to rehearse AI-for-VLSI decision making on ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline: metric framing, mechanism proof, hardware implications, and release safety.

    Evidence checklist

    • Metric context includes workload, dataset slice, and revision tags.

    • Mechanism explanation links model behavior to observed outcome.

    • Hardware/runtime feasibility is profiled, not assumed.

    • Owner and rollback path are documented before rollout.

    Review prompts

    1. Which decision will this model output influence?

    2. What is the first failing layer when metric regresses?

    3. Which owner applies the smallest reversible fix?

    4. What validation matrix is required before deployment?

    Evidence capsule

    Diagram
    AI-VLSI EVIDENCE CAPSULE 7
    
    PATH: ai-vlsi/ai-compute-hardware/memory-bandwidth-and-roofline
    WORKLOAD SLICE: <name>
    PRIMARY METRIC: <value/trend>
    FIRST FAILING LAYER: <data/model/runtime/hardware>
    OWNER: <name>
    PRIMARY ARTIFACT: <report/profile/dashboard>
    DECISION: <ship / rollback / escalate>
    PreviousNext: Memory Bandwidth & Roofline: Mechanism

    Up next

    Up nextMemory Bandwidth & Roofline: Mechanism

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • CPU, GPU, TPU, NPU Landscape
    • Precision & Quantization
    • Inference vs Training Silicon