AI Infra Interviews logo
← CUDA, Triton & Kernel Engineering / 11
mediumOpenAITogether AI

When do you write a kernel in Triton, and when do you have to drop down to CUDA?

Start with the operation, supported hardware and performance target. Compare ordinary Triton, lower-level Triton interfaces and CUDA using a measured gap that is large enough to justify maintaining custom code.

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

Start with the operation, supported hardware and performance target. Compare ordinary Triton, lower-level Triton interfaces and CUDA using a measured gap that is large enough to justify maintaining custom code.

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

Explain who controls the data layout and scheduling, check the installed compiler’s capabilities, and convert a measured kernel improvement into an end-to-end benefit before choosing a lower-level implementation.

DISCUSSION · 0

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