Shader tests: skip the one-thread LDS min/max test on WARP #435

Open
github-bot wants to merge 1 commit from github-bot/gh-435 into main AGit
Owner

@⁠sennecools on GitHub · 2026-11-25 00:49 UTC · original
sennecools:contrib/lds-test-warp-skip → main · +5 −0 · 1 files · 1 commits · open

What

ds_min_max_f32_order_floats_and_return_the_old_value runs on the hardware device only, because WARP refuses the pipeline of a one-thread program that declares a wave size of 32. With VICTORY_WARP=1 the test host (Host::new) makes that device WARP as well, so the test failed in pipeline creation ("The parameter is incorrect"). It now returns early under VICTORY_WARP=1, as the differential tests do for wave sizes WARP does not run. Nothing changes on a hardware run.

Tested

  • VICTORY_WARP=1 cargo test -p victory-shader --lib ds_min_max: the test reports the skip and passes, and ds_min_max_f32_are_atomic_across_waves still runs on WARP and passes.
  • Under VICTORY_WARP=1, cargo test -p victory-shader --lib drops from 4 failures to 3. The remaining three were already failing on main and are unrelated to this change. One of them, v_permlane16_and_x16_read_the_lanes_their_selectors_pick, is hardware-only in the same way.
  • Not run on a hardware GPU. cargo clippy -p victory-shader --all-targets -- -D warnings and the xtask policy tests: clean.

AI-assisted.

**@⁠sennecools** on GitHub · 2026-11-25 00:49 UTC · [original](https://github.com/fxceless/victory-fork/pull/435) `sennecools:contrib/lds-test-warp-skip` → `main` · +5 −0 · 1 files · 1 commits · open ## What `ds_min_max_f32_order_floats_and_return_the_old_value` runs on the hardware device only, because WARP refuses the pipeline of a one-thread program that declares a wave size of 32. With `VICTORY_WARP=1` the test host (`Host::new`) makes that device WARP as well, so the test failed in pipeline creation ("The parameter is incorrect"). It now returns early under `VICTORY_WARP=1`, as the differential tests do for wave sizes WARP does not run. Nothing changes on a hardware run. ## Tested - `VICTORY_WARP=1 cargo test -p victory-shader --lib ds_min_max`: the test reports the skip and passes, and `ds_min_max_f32_are_atomic_across_waves` still runs on WARP and passes. - Under `VICTORY_WARP=1`, `cargo test -p victory-shader --lib` drops from 4 failures to 3. The remaining three were already failing on main and are unrelated to this change. One of them, `v_permlane16_and_x16_read_the_lanes_their_selectors_pick`, is hardware-only in the same way. - Not run on a hardware GPU. `cargo clippy -p victory-shader --all-targets -- -D warnings` and the xtask policy tests: clean. AI-assisted.
ds_min_max_f32_order_floats_and_return_the_old_value runs on the hardware
device only, because WARP refuses the pipeline of a one-thread program
that declares a wave size of 32. With VICTORY_WARP=1 the test host makes
that device WARP as well, so the test failed in pipeline creation. It now
returns early there, as the differential tests do for wave sizes WARP
does not run.

AI-assisted (Claude Code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:43:14 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-25 00:49 UTC · original · edited 2026-11-25 00:50 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T00:50:37.331977Z 1516013 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-25 00:49 UTC · [original](https://github.com/fxceless/victory-fork/pull/435#issuecomment-7148915697) · edited 2026-11-25 00:50 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"15160132722b884afaeea9045195e4146d3d98a8","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T00:50:37.331977Z">2026-11-25T00:50:37.331977Z</relative-time> | `1516013` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/435/head:github-bot/gh-435'
git switch 'github-bot/gh-435'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-435'
git switch 'github-bot/gh-435'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-435'
git switch 'github-bot/gh-435'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-435'
git switch 'main'
git merge --squash 'github-bot/gh-435'
git switch 'main'
git merge --ff-only 'github-bot/gh-435'
git switch 'main'
git merge 'github-bot/gh-435'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.