What is Roofline model?

A model expressing attainable performance as the smaller of peak compute and memory bandwidth × arithmetic intensity, used to tell compute-bound from memory-bound work.

Field: AI Hardware & Software Stack

Roofline model in the explanations

Questions that mention Roofline model (4)

  1. On an accelerator with 100 TFLOPS peak and 2 TB/s memory bandwidth, a workload with arithmetic intensity 10 FLOP/byte runs. What performance does the Roofline model predict?
  2. When the Roofline model shows a workload in the memory-bandwidth-limited region, which direction improves performance?
  3. Which model plots whether a program's performance is limited by compute throughput or memory bandwidth, using arithmetic intensity (operations per byte) on the horizontal axis?
  4. What does the STREAM benchmark mainly measure?

Related terms

Arithmetic intensity Operator fusion Throughput STREAM benchmark AI compiler AI inference All-reduce Attention mechanism Backpropagation Batch size

Back to the glossary