Repository navigation
Conversation
…drain pipes, and survive per-seed errors
Owner
Author
|
closing as merged upstream |
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.
this pr adds a schedule perturbation campaign for existing cuda-oxide examples.
the campaign builds an example once, inserts deterministic
nanosleep.u32delays at structural synchronization sites in the generated PTX (atomics, mbarriers, fences, ordered loads/stores, warp collectives, loop back-edges), patches a copy of the executable's embedded artifact, and runs each variant behind a watchdog. the code and inputs never change; only warp timing does, and every mutation is a pure function of the seed so a finding replays exactly.outputs
that finding is a real race: on 1x B200 (
sm_100a), sweeping seeds 0..140 with--focus mbarriersurfaced aTILE_INFOmailbox race in the gemm_sol phase 4B kernel: the producer warp can republish tile coordinates before all five reader warps have copied them, leaving 264 of 1024 output tiles unwritten. seeds 56 and 135 each reproduce it 3/3 against a passing pristine baseline. the fix (and full failure output) is in the parallel pr.findings are reported as schedule-sensitive outcomes rather than proof of a data race or deadlock:
CORRECTNESS FAILURE,OUTPUT CHANGE(with--compare-output),TIMEOUT,CRASH, orGPU WEDGEcandidates. a finding is rerun up to--confirm-runstimes, and a timeout is rechecked with pristine PTX so a wedged device is not misreported. mutated PTX, decisions, logs,replay.sh,sites.json, andsummary.jsonland undercrates/fuzzer/artifacts/schedule/<example>/; the standaloneptx-schedulebinary can also--list-sitesor rewrite a PTX file directly. details are incrates/fuzzer/README.md.cargo test -p ptx-schedulepasses (7 tests) andcargo fmt --all -- --checkis clean.