Blog / Engineering

Async/await on the GPU Waiting only when you have to

Ben KoskaOct 7, 20261 min read

Emma generates the code async/await needs inside a GPU kernel, so a kernel can start work in the background and wait only when it has to.

Waiting only when you have to

Start the work, keep going, and await the result at the point you actually need it. The compiler takes care of the state in between.