Commit Graph

3 Commits

Author SHA1 Message Date
43d470316e Tests: follow #866's file_mode helper and #835's run_cmd(gpu=)
test_glb_atomic still drove glb_writer._output_mode through a fake umask; #866 moved the mode to
file_mode.published_mode, which uses a probe file and never sets the umask, so the test now checks exactly that.
test_run_gpu_wavemask's fake run_cmd takes the gpu= keyword.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:43:52 -05:00
b7e24a0869 run_gpu_tests: run cs_wavemask once and report it once
The cs_wavemask branch kept two older inline copies of the test next to the wavemask_check() call that
replaced them (merge leftovers): vk_compute_test ran three times and the result was appended twice, so
every run reported cs_wavemask twice (seen in a #166 report: RX 5700 XT on Windows, "83/94" for 90
tests). The branch is now the wavemask_check() call alone, with w64_emulated() for LEONIDA_W64_EMULATE
(it also accepts the trailing space cmd.exe leaves).

New test: run_suite with a fake translator and vk_compute_test runs cs_wavemask once and prints one row
(fails before: 3 runs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:09:09 -06:00
6de5bd46b4 run_gpu_tests: run cs_wavemask on any subgroup size with LEONIDA_W64_EMULATE=1
check.py drops --require-wave64 for cs_wavemask when wave64 is emulated; run_gpu_tests.py always passed it,
so on a 32-wide GPU the emulated suite skipped cs_wavemask. The check moves into wavemask_check(), which
asks for a 64-wide subgroup (and confirms it) only for the native build. test_run_gpu_wavemask covers both
paths with a fake vk_compute_test.

NVIDIA GeForce RTX 4070 SUPER (subgroup 32), driver 610.88, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8 in WSL:
LEONIDA_W64_EMULATE=1 run_gpu_tests.py 48/49 (was 47/49; ps_vcc_x2 skips), cs_wavemask 0 mismatches.
Native: 29/49, cs_wavemask still skips. AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:19:14 -06:00