Name VICTORY_WAVE_PAIRS=1 for the NVIDIA paired FP32 tests #400

Closed
github-bot wants to merge 660 commits from github-bot/gh-400 into main AGit
Owner

@⁠zmelumian972 on GitHub · 2026-11-28 07:25 UTC · original
zmelumian972:fix/nvidia-paired-fp32-test-env → main · +60015 −5429 · 206 files · 660 commits · closed without merging

Fixes #373.

nvidia_paired_fp32_ordered_sum and nvidia_paired_fp32_min_max run the paired form only when VICTORY_WAVE_PAIRS=1 is set. Their #[ignore] reasons named only VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz, so following them gave paired=false threads=[64, 1, 1] and a failure. This change names both variables and asserts the pairing switch first, the same way the other paired tests in wave64_after_loop.rs do.

Tested

RTX 5090 (32-lane), NVIDIA 620.73.04, CachyOS, tests run under GE-Proton11-14 Wine (cargo xwin test), DXC's dxil.dll through VICTORY_DXIL:

Environment Before After
VICTORY_WAVE_PAIRS_FP32 only 2 failed (paired=false, wrong result at line 1007) 2 failed at once on the VICTORY_WAVE_PAIRS assert
both variables 2 passed (paired=true threads=[32, 1, 1]) 2 passed
default wave64 filter 33 passed, 14 ignored 33 passed, 14 ignored

This matches the RTX 4070 SUPER results in #373.

🤖 Generated with Claude Code

**@⁠zmelumian972** on GitHub · 2026-11-28 07:25 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/400) `zmelumian972:fix/nvidia-paired-fp32-test-env` → `main` · +60015 −5429 · 206 files · 660 commits · closed without merging Fixes #373. `nvidia_paired_fp32_ordered_sum` and `nvidia_paired_fp32_min_max` run the paired form only when `VICTORY_WAVE_PAIRS=1` is set. Their `#[ignore]` reasons named only `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz`, so following them gave `paired=false threads=[64, 1, 1]` and a failure. This change names both variables and asserts the pairing switch first, the same way the other paired tests in `wave64_after_loop.rs` do. ### Tested RTX 5090 (32-lane), NVIDIA 620.73.04, CachyOS, tests run under GE-Proton11-14 Wine (`cargo xwin test`), DXC's `dxil.dll` through `VICTORY_DXIL`: | Environment | Before | After | | --- | --- | --- | | `VICTORY_WAVE_PAIRS_FP32` only | 2 failed (`paired=false`, wrong result at line 1007) | 2 failed at once on the `VICTORY_WAVE_PAIRS` assert | | both variables | 2 passed (`paired=true threads=[32, 1, 1]`) | 2 passed | | default `wave64` filter | 33 passed, 14 ignored | 33 passed, 14 ignored | This matches the RTX 4070 SUPER results in #373. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nvidia_paired_fp32_ordered_sum and nvidia_paired_fp32_min_max only run
the paired form when VICTORY_WAVE_PAIRS=1 is set as well. Their ignore
reasons named only VICTORY_WAVE_PAIRS_FP32, so a run that followed them
failed with paired=false. Name both variables and assert the pairing
switch first, as the other paired tests in this file do.

Fixes #373.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013YhYveEj8Y5ZZys8eqzHAx
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 07:28:13 +00:00
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-28 16:20 UTC · original

Same result on native Windows (no Wine), 32-lane NVIDIA card, Rust 1.98.1, cargo test --locked -p victory-shader --lib:

Environment main (fe7c6e5) this PR (eba1e1f)
VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz only 2 failed, paired=false threads=[64, 1, 1], line 1007 2 failed at once on the new assert (lines 562 and 627)
both variables 2 passed, paired=true threads=[32, 1, 1]
default wave64 filter 33 passed, 14 ignored

So following the #[ignore] reason now either passes or tells you right away what's missing, which is what #373 asked for.

AI-assisted: yes

**@⁠Kal0s-design** on GitHub · 2026-11-28 16:20 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/400#issuecomment-7242167661) Same result on native Windows (no Wine), 32-lane NVIDIA card, Rust 1.98.1, `cargo test --locked -p victory-shader --lib`: | Environment | `main` (`fe7c6e5`) | this PR (`eba1e1f`) | | --- | --- | --- | | `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz` only | 2 failed, `paired=false threads=[64, 1, 1]`, line 1007 | 2 failed at once on the new assert (lines 562 and 627) | | both variables | | 2 passed, `paired=true threads=[32, 1, 1]` | | default `wave64` filter | | 33 passed, 14 ignored | So following the `#[ignore]` reason now either passes or tells you right away what's missing, which is what #373 asked for. AI-assisted: yes
Author
Owner

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

Thanks for reproducing the missing paired-wave switch on native Windows. The documented test invocation should exercise the intended path, not silently pass an unpaired alternative. This is directly related to #373.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:36 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/400#issuecomment-7255222096) Thanks for reproducing the missing paired-wave switch on native Windows. The documented test invocation should exercise the intended path, not silently pass an unpaired alternative. This is directly related to #373.
github-bot closed this pull request 2026-11-30 17:08:20 +00:00
Author
Owner

@⁠zmelumian972 on GitHub · 2026-11-30 17:04 UTC · original

No longer applies: the new main no longer has the paired FP32 tests in wave64_after_loop.rs.

**@⁠zmelumian972** on GitHub · 2026-11-30 17:04 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/400#issuecomment-7285678759) No longer applies: the new main no longer has the paired FP32 tests in `wave64_after_loop.rs`.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.