PDL boils down to two CUDA calls: next kernel preps early, pauses at dependency

anbarth · x · 2026-11-30

The accompanying diagram shows the minimal PDL implementation: kernel1 calls cudaTriggerProgrammaticLaunchCompletion() to signal readiness, kernel2 runs its dependency-free prep (zerobuffers(), loadconstants()), pauses at cudaGridDependencySynchronize() for kernel1's output, and opts in via cudaLaunchAttributeProgrammaticStreamSerialization at launch. Adapted from NVIDIA's CUDA Programming Guide (Hopper/Blackwell).

Related event: Programmatic Dependent Launch enables kernel handoff with two CUDA calls(2 posts)→

Original post →

More from Infra

Infra channel →