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

Sum 100 million floats on the GPU as fast as the hardware allows. Write the kernel and justify each step.

Build a reduction with a checked tail, one partial result per block and a final combine. Count the input bytes, then investigate the instructions, synchronization and numerical behavior that a bandwidth estimate leaves out.

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

Build a reduction with a checked tail, one partial result per block and a final combine. Count the input bytes, then investigate the instructions, synchronization and numerical behavior that a bandwidth estimate leaves out.

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

Show complete input coverage, a valid shuffle participation mask and block synchronization, then explain how the partials are combined. Separate traffic floors from measured runtime and state the numerical contract.

DISCUSSION · 0

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