Repository navigation
Conversation
|
Tested f9c7624 with #8448 (47494e7) merged on top, as the description says, on an RDNA2 GPU (the description's run was a Turing card) plus a second NVIDIA card. Windows 11 26200, MSVC 14.51 (VS 2026), llvm-mc 23.1.6. The test programs were built from main 867d922. pass
AI-assisted: yes |
|
Tested I also checked whether the fixture detects an incorrect high mask bit even though the runner compares only the first eight output words. In a scratch copy I changed the second compare’s active lanes and threshold to produce The mutated shader still passed Synthetic fixtures only. AI-assisted QA. |
Claimed in the coordination issue as: wave32 VCC_HI hardware readback
Depends on: #8448
What and why
Add a hand-written wave32 compute shader to both GPU test runners. It initializes VCC_HI to all ones, compares under a sparse EXEC_LO, and then restores EXEC_LO before reading the result. A scalar equality check observes the entire high word. Two per-lane conditional moves independently observe VCC_HI and VCC_LO. A destination alias, stale bits outside EXEC, or a wrong lane mask changes the output.
Tested
Windows 10 x64, NVIDIA RTX 2060 SUPER, driver 576.02, Vulkan subgroup size 32. Used LLVM 23.1.6 to assemble the fixture. Ran the same command with separate clean work directories:
python -I scripts/run_gpu_tests.py --filter cs_w32_vcc_hi_compare --require-pass.On main @867d922f0 plus this fixture, translation rejected the compare destination, 0/1. Adding only rdna2spirv, lane_masks: support null/exec/wave32-vcc_hi compare SDSTs and wave32 vcc_hi masks #8448 @47494e725 made the fixture pass spirv-val and the GPU returned
9 8 11 8 9 8 8 8, 1/1.As context for the dependency, on ladder-frame @b487b6d8c, a fixed sample of 84 distinct compute programs yielded 63 validated modules before rdna2spirv, lane_masks: support null/exec/wave32-vcc_hi compare SDSTs and wave32 vcc_hi masks #8448 and 79 after, with all 63 retained. Repeated with both disassembly backends. This measures translation coverage.
GPU runner Python suite: 62/62 on the fixture branch and its original parent @063ab399e. The shader check suite had the same 15 existing test errors on both (see tests/test_shader_checks: stub table_fetch_test in the Wave64Checks harness (15 errors on main) #7433).
Full failure-set retry on the same ladder-frame base: 1,778/2,684 distinct pipeline-library compute programs passed on the baseline. Adding only rdna2spirv, lane_masks: support null/exec/wave32-vcc_hi compare SDSTs and wave32 vcc_hi masks #8448 recovered 633 of the 906 baseline failures with spirv-val; 273 still failed. The retry covered the complete failure set. Retention of prior successes was checked separately on the 84-program sample above.
AI-assisted: yes (Codex).