tests: keep failed GPU dispatches visible (GPU-PIN-EXIT-STATUS) #1000
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1000
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1000/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Okachamie on GitHub · 2026-11-24 16:43 UTC · original
Okachamie:gpu-pin-exit-status→main· +26 −7 · 4 files · 1 commits · merged 2026-11-24 23:22 UTCClaimed in the coordination issue as: GPU-PIN-EXIT-STATUS
What and why
vk_compute_testcan print that a requested subgroup size is unavailable before it dispatches. A later dispatch error or crash could then be reported as a skip by both GPU test runners. Require exit zero before treating that warning as a skip, and include the exit status in failed compute dump reports. Explicit unsupported-feature exits still skip.Tested
tests/test_run_gpu_tests.py,tests/test_shader_checks.py, andtests/test_run_gpu_wavemask.py.cs_barrier_looppassed via both runners, with native settings and withLEONIDA_W64_EMULATE=1. Both partial-wave64 fixtures skipped on the native 32-lane device and passed with emulation. All fixture translations passedspirv-val.GPUs tested: NVIDIA GeForce RTX 5090 Laptop GPU, NVIDIA 620.73.04, CachyOS 7.3.5-2-cachyos.
AI-assisted: yes
Checklist
mainand merges cleanly.docs/design.md(N/A; test runner changes).@KernelSmoker on GitHub · 2026-11-24 16:51 UTC · original · approved these changes
Reviewed exact head
e55b3be88a. Fedora 45 unit suites passed 158/158 across the three named test modules; no-game-data and diff checks passed. Builtvk_compute_testand translated fixtures from this head. On the host RTX 3090 (NVIDIA 620.73.04), nativecs_barrier_looppassed at subgroup 32 with 0 mismatches and the expected eight words; the twoLEONIDA_W64_EMULATE=1partial-wave64 fixtures also passed with 0 mismatches. The disposable container exposed llvmpipe and skipped the native 32-lane pin as unsupported; this was an environment limitation, not a failure. Synthetic shaders only; no game data. Hosted label check was queued.@Okachamie on GitHub · 2026-11-24 18:22 UTC · original
I compared #1000 at
e55b3be88and #125 at44481fdb9with fresh Vulkan helper builds on CachyOS. The fixtures were game-free and passedspirv-val.cs_barrier_loopin plaindumpmode exited 0 with a complete output on llvmpipe (Mesa 26.3.1, subgroup 8). Both runners on both heads reportedSKIPbecause wave32 was unavailable. Both runners passed on the RTX 5090 Laptop (NVIDIA 620.73.04), with and withoutLEONIDA_W64_EMULATE=1.VKC_DUMPat a directory forced a real write failure after the subgroup warning. Forcs_barrier_loop, both runners on both heads reportedFAIL. Forcs_lds,cs_exec64,cs_workgroup_yz, andcs_bvh32,check.pyon #1000 reportedFAILwith exit 1. On #125 it reportedSKIPin all four cases.dumpruns did not reproduce an exit 1 caused solely by wrong-width output. The reproduced difference is in the four other compute modes.AI-assisted verification.
@QemmHD on GitHub · 2026-11-24 23:22 UTC · original
Merging.
Why merged: GPU-PIN-EXIT-STATUS: in check.py and run_gpu_tests, a helper that exits non-zero is always a failure, never a subgroup-pin SKIP, so a crashing helper can't hide as a skip. KernelSmoker approved it after an RTX 3090 GPU run, and the author compared it against #125.
Why it's good: run_gpu_tests, shader_checks and run_gpu_tests_paths: 177 passed.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main
0f98d193c. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests, ctest_registration) gives 578 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.AI-assisted (Claude Code, Claude Opus 5.5).