The cost of instant dispatch in CUDA: stream-path QMDs carry less dependency information

mike64_t · x · 2026-10-22

A thread on CUDA kernel dispatch internals: cuLaunchKernel must dispatch the QMD (queue metadata descriptor) right then and there — the cost of instant dispatch. In the batched-launch path, the resulting QMDs carry less information about true dependencies; the stream path instead spams creation of one-size QMDs with a tracking system for those in flight. The poster finds this design decision odd; another notes batched launching under WSL is painful.

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

Original post →

More from Infra

Infra channel →