Repository navigation
cuda: guard every PDL launch against a missing dependency wait (after #5308) - #5381
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/cuda-pdl-guard
branch
from
November 27, 2026 13:51
002c947 to
660bf31
Compare
This was referenced Nov 27, 2026
ashhart
force-pushed
the
lead/cuda-pdl-guard
branch
from
November 27, 2026 19:03
660bf31 to
a71d8e9
Compare
ashhart
added a commit
that referenced
this pull request
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #5353 (#5308). That bug was a kernel launched as a programmatic dependent launch whose body had no dependency-wait prologue, so it could read memory its predecessor was still writing; it showed only on a non-default precision path. This adds a guard so a launch like that cannot land again, and fixes the one other kernel the audit found.
pdl_wait()) at the top of their global entry, before their first read of predecessor output. Their replay binding can launch them with PDL; the emitted DeepSeek routes pass PDL off, so no served default changes and outputs are identical either way.