AI Infra Interviews logo
← CUDA, Triton & Kernel Engineering / 19
hard★ EssentialAnthropic

A take-home gives you a working layernorm kernel at a tenth of memory bandwidth. Make it fast and justify every change.

Build a numerical reference, count the traffic and investigate a row-wise fused kernel. Separate bandwidth lower bounds from measured performance.

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

Build a numerical reference, count the traffic and investigate a row-wise fused kernel. Separate bandwidth lower bounds from measured performance.

This answer is included with a free account. Sign in to read it and save your progress.

free account · no card needed

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

Establish correctness before optimizing. Explain row ownership, reduction precision and register pressure without inventing benchmark results.

DISCUSSION · 0

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