AI Infra Interviews logo
← CUDA, Triton & Kernel Engineering / 26
mediumNVIDIA

You added three local variables to a working kernel and it got 30 percent slower. Explain what happened and how you would confirm it.

A few extra live values can change register allocation, residency, generated instructions or spills. Compare compiler evidence with runtime behavior before attributing a 30% slowdown to any one of them.

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

A few extra live values can change register allocation, residency, generated instructions or spills. Compare compiler evidence with runtime behavior before attributing a 30% slowdown to any one of them.

The full answer is part of Premium. A free account includes more answers in each topic, but does not unlock this one.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 316 remaining answers · ₹2,000 / $25

Work through the numbers

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

UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Distinguish source variables from allocated registers, register-limited residency from spills, and compiler evidence from a measured cause. State allocation and launch assumptions before using occupancy arithmetic.

DISCUSSION · 0

No comments yet — be the first to share your approach.