roofline
AI infra interview questions tagged roofline, across every topic.
10 questions · 5 unlocked for you
Concepts behind "roofline"
Review the concepts used in these questions.
Foundational
Roofline ModelDerive a throughput ceiling from work, traffic and hardware limits. Read a measured point below the roof, distinguish memory boundaries, and choose an optimization without promising peak performance.🧩 GPU & Accelerator Architecture
Core
Arithmetic Intensity by OperationCount the FLOPs and memory transfers of a projection, attention and a residual add. Learn where the batch-size shortcut works, where it breaks, and which hardware roof applies.🧮 Napkin Math & CapacitySign in
Advanced
Memory-Bound vs Compute-Bound KernelsUse a worked timing example to distinguish a bandwidth ceiling from a measured bottleneck. Learn which profiler evidence to inspect and why decode, prefill and a whole serving step need separate diagnoses.🧩 GPU & Accelerator Architecture🔒 Premium
