CUDA vet explains why CUDA Graphs beat streams on kernel launch overhead

blelbach · x · 2026-10-21

Answering why enqueuing kernel launches to a stream carries more overhead than a CUDA graph, a veteran who worked on the original CUDA Graphs launch breaks it down: everything reduces to command buffers sent to the GPU. Streams must recreate the buffer (allocation + encoding) on every launch, while graphs compile allocation and encoding ahead of time and reuse the compiled result across launches — so repeated identical work almost always wins with graphs. An old benchmark of linear kernel chains showed both scale linearly, but streams have a zero y-intercept with a steeper slope.

Related event: NVIDIA veteran explains why CUDA Graphs have lower launch overhead than streams(5 posts)→

Original post →

More from Infra

Infra channel →