Walk me through a GPU kernel you wrote and why it was fast
HardConcept30 minSWEMLERSPro outline
The question
Pick a GPU kernel you wrote or tuned, in CUDA or a kernel language like Triton. Walk me through how you mapped the work to threads, warps and blocks, and how it used the memory hierarchy.
Then tell me what limited its speed and how you knew.
What the interviewer is looking for
- Correct use of threads, warps, blocks and streaming multiprocessors, and how blocks are scheduled
- Clear picture of registers, shared memory, L2 and global memory, with their trade-offs
- Measured evidence such as profiler numbers, achieved bandwidth or FLOPs versus peak
- Names the bottleneck (memory bound, compute bound, latency bound) and why
- Can explain one optimization in detail, such as coalescing, tiling or fusion
- Separates what they built from what a library or teammate provided
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported NVIDIA (Research and AI engineering) question type: Deep dive into CUDA kernels you wrote: threads, warps, blocks, SMs and the GPU memory hierarchy.
Reported in: calibrd.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official NVIDIA (Research and AI engineering) question.