Repository navigation
Conversation
Log every rejected adapter and WARP in Host::all_adapters(), and print SKIPPED <test>: no SM 6.6 adapter instead of panicking on an empty host list. This makes Turing/SM 6.5 machines diagnosable instead of producing identical failures.
Author
|
Update after applying the diagnostic patch (#2): reran one representative GPU test on the same RTX 2080 Ti machine with 18 build threads. Command: cargo test -p victory-shader --locked -- emit::wave64_tests::gpu::gpu_64_threads_mbcnt_ballot_and_high_ff1 --test-threads=18 --nocaptureResult: This confirms the failures were an SM 6.6 test-harness gate, not wave64 shader logic. No game data was used. |
Owner
|
Cherry-picked into eat/wave64-compute-emulation as 9db4e94 and verified locally (37 passed; 0 failed). Thank you! |
alfycs
pushed a commit
that referenced
this pull request
Nov 25, 2026
) RDNA2 flushes denormal operands of the legacy multiplies to zero, so 0 x anything = 0 also holds for them. The lowering only tested for an exact float zero, whose result also depends on the host's denormal mode. Test the exponent bits instead. Follow-up to #2.
This pull request was closed.
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.
While validating PR Marvisak#189 on an RTX 2080 Ti (Turing, SM 6.5) on Windows 10 build 19045,
cargo test -p victory-shader --locked -- wave64 --test-threads=1produced18 passed; 19 failed. Every failure was the same panic atwave64_tests.rs:1133:Host::all_adapters()silently drops adapters that failcheck_sm66(), and WARP is excluded by the same check, sowith_hosts()receives an empty list. The shader logic never ran.This patch:
SKIPPED <test>: no SM 6.6 adapter;with_hosts()from both call sites.On machines with an SM 6.6 adapter the test path is unchanged.
Validated with
cargo check -p victory-shader --tests --lockedusing Rust 1.98.1 andCARGO_BUILD_JOBS=18: finished in 6.49 s.git diff --checkis clean. No game data was used.AI use: AI-assisted (WorkBuddy) for drafting the patch and this description; the compile result is from a real local run.