[RTX 4070 SUPER] nvidia_paired_fp32_ordered_sum and nvidia_paired_fp32_min_max fail as documented; they also need VICTORY_WAVE_PAIRS=1 #373

Open
opened 2026-11-27 20:18:37 +00:00 by github-bot · 3 comments
Owner

@⁠samuelcurcelicordovil-collab on GitHub · 2026-11-27 20:17 UTC · original

A title-free run of the NVIDIA Wave32 tests from #208 on an RTX 4070 SUPER. Two of them fail with the variable their #[ignore] reason gives, and pass once VICTORY_WAVE_PAIRS=1 is added. Without it they run the unpaired form.

Vice-Tay build

2d97073 (main, git clone), cargo test --locked -p victory-shader --lib build, Rust 1.98.1. Both #[ignore] reasons and wave64_after_loop.rs are unchanged on the current main (f1819a7).

Hardware and graphics driver

NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 621.40, Intel Core i9-12900F, 32 GB DDR4-3200, Windows 11 Pro 25H2 build 26200.9974.

How to reproduce

From crates/victory-shader, with only the variable from the #[ignore] reason:

$env:VICTORY_WAVE_PAIRS_FP32 = 'non-ieee-rne-ftz'
cargo test --locked -p victory-shader --lib -- --ignored --exact emit::wave64_tests::after_loop::nvidia_paired_fp32_min_max --nocapture --test-threads=1

What you observed

Test As documented (VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz) With VICTORY_WAVE_PAIRS=1 added
nvidia_paired_fp32_ordered_sum FAILED, paired=false threads=[64, 1, 1] ok, paired=true threads=[32, 1, 1]
nvidia_paired_fp32_min_max FAILED, paired=false threads=[64, 1, 1] ok, paired=true threads=[32, 1, 1]
adapter: NVIDIA GeForce RTX 4070 SUPER
paired=false threads=[64, 1, 1] dispatch=[1, 1, 1] asked=1
panicked at crates\victory-shader\src\emit\wave64_after_loop.rs:1007:9:
word 0: got 0x7fffffff, expected 0xffc00003 (s0=64, s1=2139095057)

The other 12 ignored tests in wave64_after_loop.rs pass with the variables their reasons give, including exact_permute_obeys_exec with VICTORY_WAVE_PAIRS=0 and listed_wave64_uses_paired_backend. The gated victory-gpu relay tests also pass as documented now, including the five from #181.

Likely cause

The expected values are for the paired form. Without VICTORY_WAVE_PAIRS=1 the program runs as two host waves, the approximate form #208 describes, so I read this as the reason missing a variable rather than a translator bug. The checks in #208 ran these tests with both variables set.

Possible fixes: add VICTORY_WAVE_PAIRS=1 to both #[ignore] reasons, or have the two tests turn the form on themselves with with_wave_pairs(true, ...), as nvidia_paired_permute_obeys_exec does.

I can rerun these on this card.

AI-assisted (Claude)

**@⁠samuelcurcelicordovil-collab** on GitHub · 2026-11-27 20:17 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/373) A title-free run of the NVIDIA Wave32 tests from #208 on an RTX 4070 SUPER. Two of them fail with the variable their `#[ignore]` reason gives, and pass once `VICTORY_WAVE_PAIRS=1` is added. Without it they run the unpaired form. ### Vice-Tay build `2d97073` (main, git clone), `cargo test --locked -p victory-shader --lib` build, Rust 1.98.1. Both `#[ignore]` reasons and `wave64_after_loop.rs` are unchanged on the current `main` (`f1819a7`). ### Hardware and graphics driver NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 621.40, Intel Core i9-12900F, 32 GB DDR4-3200, Windows 11 Pro 25H2 build 26200.9974. ### How to reproduce From `crates/victory-shader`, with only the variable from the `#[ignore]` reason: ```powershell $env:VICTORY_WAVE_PAIRS_FP32 = 'non-ieee-rne-ftz' cargo test --locked -p victory-shader --lib -- --ignored --exact emit::wave64_tests::after_loop::nvidia_paired_fp32_min_max --nocapture --test-threads=1 ``` ### What you observed | Test | As documented (`VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz`) | With `VICTORY_WAVE_PAIRS=1` added | |---|---|---| | `nvidia_paired_fp32_ordered_sum` | FAILED, `paired=false threads=[64, 1, 1]` | ok, `paired=true threads=[32, 1, 1]` | | `nvidia_paired_fp32_min_max` | FAILED, `paired=false threads=[64, 1, 1]` | ok, `paired=true threads=[32, 1, 1]` | ```text adapter: NVIDIA GeForce RTX 4070 SUPER paired=false threads=[64, 1, 1] dispatch=[1, 1, 1] asked=1 panicked at crates\victory-shader\src\emit\wave64_after_loop.rs:1007:9: word 0: got 0x7fffffff, expected 0xffc00003 (s0=64, s1=2139095057) ``` The other 12 ignored tests in `wave64_after_loop.rs` pass with the variables their reasons give, including `exact_permute_obeys_exec` with `VICTORY_WAVE_PAIRS=0` and `listed_wave64_uses_paired_backend`. The gated `victory-gpu` relay tests also pass as documented now, including the five from #181. ### Likely cause The expected values are for the paired form. Without `VICTORY_WAVE_PAIRS=1` the program runs as two host waves, the approximate form #208 describes, so I read this as the reason missing a variable rather than a translator bug. The checks in #208 ran these tests with both variables set. Possible fixes: add `VICTORY_WAVE_PAIRS=1` to both `#[ignore]` reasons, or have the two tests turn the form on themselves with `with_wave_pairs(true, ...)`, as `nvidia_paired_permute_obeys_exec` does. I can rerun these on this card. <sub>AI-assisted (Claude)</sub>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:18:37 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 11:37 UTC · original

Thanks for pinning the failure to the missing paired-wave setting and including the logged backend selection. #400 addresses the test instructions. Please rerun both exact tests with the documented variables after that change and confirm paired=true, not just the final pass count.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/373#issuecomment-7255241943) Thanks for pinning the failure to the missing paired-wave setting and including the logged backend selection. #400 addresses the test instructions. Please rerun both exact tests with the documented variables after that change and confirm paired=true, not just the final pass count.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:01 UTC · original

main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

**@⁠TaynanGT** on GitHub · 2026-11-30 17:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/373#issuecomment-7285588868) `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 20:16 UTC · original

Both of those tests changed with the switch they named. VICTORY_WAVE_PAIRS doesn't exist; the paired form is VICE_TAY_WAVE_PAIR, and it's on by default rather than opt-in, with VICE_TAY_WAVE_PAIR_NOT=<hash>,... as an exclusion list.

So the #[ignore] reasons you were reading no longer describe this tree. If you run cargo test -p vice-tay-shader --lib on a current main and something still fails, that's a live report and I'd want it - but it won't be the same two tests with the same variable.

Thanks for running it on a 4070 SUPER and reporting what the reasons actually said. That kind of check is why the documented requirement got noticed at all.

**@⁠TaynanGT** on GitHub · 2026-11-30 20:16 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/373#issuecomment-7290655240) Both of those tests changed with the switch they named. `VICTORY_WAVE_PAIRS` doesn't exist; the paired form is `VICE_TAY_WAVE_PAIR`, and it's on by default rather than opt-in, with `VICE_TAY_WAVE_PAIR_NOT=<hash>,...` as an exclusion list. So the `#[ignore]` reasons you were reading no longer describe this tree. If you run `cargo test -p vice-tay-shader --lib` on a current `main` and something still fails, that's a live report and I'd want it - but it won't be the same two tests with the same variable. Thanks for running it on a 4070 SUPER and reporting what the reasons actually said. That kind of check is why the documented requirement got noticed at all.
This discussion has been locked. Commenting is limited to contributors.
No description provided.