AI Hardware & Software Stack
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?
- A100 TFLOPS (compute-bound)
- B20 TFLOPS (memory-bound)
- C10 TFLOPS (memory-bound)
Show answer and explanation
Answer: B. 20 TFLOPS (memory-bound)
In the Roofline model, attainable performance is the smaller of the peak and bandwidth × arithmetic intensity. 2 TB/s × 10 FLOP/byte = 20 TFLOPS, below the 100 peak, so this workload is memory-bound with a 20 TFLOPS ceiling. Peak ÷ bandwidth = 50 FLOP/byte is the boundary (the ridge point); only workloads with higher intensity can reach peak performance.
- A. With intensity below 50, peak is out of reach.
- B. Correct. 2 TB/s × 10 = 20 TFLOPS.
- C. That assumes 1 TB/s of bandwidth.