AI Infra Interviews logo

GPU & Accelerator Architecture

31 questions
0 of 31 done · 10 unlocked for you
DONEUNLOCKEDLOCKED

GPU Architecture Interview Questions

SMs, warps and the memory hierarchy, tensor cores, the roofline model, FP8 and FP4 numerics, NVLink and HBM generations, and the non-NVIDIA canon: TPU, Trainium, MI300-class, Cerebras and Groq. The hardware physics every other round assumes you know cold.

Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Work through the numbers

Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.

A starting path through this topic

Start with a mechanism, then use a worked problem to explain a decision. Access labels below describe what is available without an account.

  1. Roofline Model

    Use compute and bandwidth ceilings to choose a measurement.

    Public concept
  2. What is a tensor core, and what does a kernel have to do to actually use one?

    Identify the matrix instruction, operand format and evidence that the kernel uses it.

    Public answer
  3. Is LLM decode memory-bound or compute-bound? Show me the arithmetic that decides it.

    Calculate arithmetic intensity before calling decode memory-bound.

    Public answer
You have 10 free answers unlocked here.Sign in free for 10 more · 11 are premium.
01–13Foundationsbuild the vocabulary and basic mechanisms0/13 done
14–24Core loopsapply the ideas to worked interview questions0/11 done
25–31Field scenariosreason through constraints and operational failure scenarios0/7 done
PRACTICE TESTStudied this track? Prove it: a timed GPU & Accelerator Architecture test.rotating questions · every answer explained · free with an accountStart →

The concepts behind GPU & Accelerator Architecture

Review the ideas used in these questions. Each card shows whether the explanation is free, requires sign-in or is part of Premium.

Foundational
GPU Execution ModelCUDA groups threads into warps and blocks that run on streaming multiprocessors. Learn how ready warps hide waiting, why registers limit residency, and when higher occupancy fails to improve performance.
Foundational
GPU Memory HierarchyTrace storage scope and data reuse from registers through shared memory, caches and HBM. Worked register and traffic examples explain why a source-level load is not automatically an HBM transfer.
Core
Sign in
Tensor Cores and Matrix UnitsTensor cores accelerate supported matrix multiply-accumulate operations. Their performance depends on precision, matrix shape and how efficiently the kernel supplies data.
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.
Advanced
🔒 Premium
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.
Core
Sign in
Numerics: FP32, BF16, FP8 and FP4Floating-point formats trade range and precision for storage and compute cost. Understand exponent bits, significand bits, scaling and accumulation before choosing a format.
Advanced
🔒 Premium
NVLink, NVSwitch and PCIeNVLink, NVSwitch and PCIe provide different GPU communication paths. Learn how their topology and bandwidth affect the placement of parallel work.
Advanced
🔒 Premium
GPU Generations: A100 to BlackwellGPU generations change memory, arithmetic support and interconnect capacity at different rates. Compare the specification that limits your workload rather than the generation name.
Unlock all 31 answers · ₹2,000 / $25