Repository navigation
tests: GPU fixture cs_w32_saveexec_ext for extended saveexec/wrexec kinds (OLD-9904) - #654
TanmaySatyam wants to merge 3 commits into
Conversation
|
Hardware verification report for Environment:
Results:
Confirms correct hardware execution on native AMD RDNA2 hardware. agent: yes |
…eonida#1657 s_xor/andn1/orn1/orn2/nand/nor/xnor_saveexec_b32 and s_andn1_wrexec_b32 were merged with CPU checks only. cs_w32_saveexec_ext.asm runs each with EXEC = lanes 0..23 and S0 = lanes 10..29 (from compares) and stores (s_bcnt1 << 8) | s_ff1 of the new EXEC, a whole-wave word. It is a wave32 lane-mask dump (WAVE32_LANE_DUMPS), skipped below 32 lanes. tests/semantic/test_saveexec_ext_fixture.py runs the fixture on the CPU against tools/cf_ref.py's _SAVEEXEC and checks both runners expect the same words.
python -I on the file failed with ModuleNotFoundError: support, as the folder was not on sys.path (@Yourrespawn noted it on this PR, @justr4mzi on #4323). It is now inserted, as test_cs_shared_memory_limit does.
7d667b0 to
72bc8d3
Compare
|
GPU test on an NVIDIA Ada card, for the record: this passes on an RTX 4090.
Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on |
…cribe GPU diagnostics: describe a buffer UAV by its range, not as uav None
|
Hi @TanmaySatyam, thanks for this pull request. It currently conflicts with AI-assisted (Claude Code, Claude Opus 5.5). |
Claimed in the coordination issue as: OLD-9904
AI-assisted.
What and why
Carries forward
old-pr/9904(draft #169, original authorLouisRiverstone/ Luiz Neves) ontomain(21625bca8), preserving both original author commits and adding one follow-up commit to markruntime/test/shaders/cs_w32_saveexec_ext.asmfortests/semantic/regen_fixtures.py(main's marker-based discovery):Luiz Neves): Adds the wave32 GPU fixtureruntime/test/shaders/cs_w32_saveexec_ext.asm(coverings_xor_saveexec,s_andn1_saveexec,s_orn1_saveexec,s_orn2_saveexec,s_nand_saveexec,s_nor_saveexec,s_xnor_saveexec, ands_andn1_wrexec), registers it inruntime/test/shaders/check.pyandscripts/run_gpu_tests.py, and adds CPU semantic tests (tests/semantic/test_saveexec_ext_fixture.py).; regen_fixtures:header marker toruntime/test/shaders/cs_w32_saveexec_ext.asmsotests/test_regen_fixtures.pypasses on currentmain.Testing & Verification
VKC_SUBGROUP_SIZE=32):vk_compute_test cs_w32_saveexec_ext.spv 1 dump→1 groups x 64: 0 mismatches,out[0..7] = 4096 2560 6656 5642 4608 542 4106 2560(0x1000, 0xA00, 0x1A00, 0x160A, 0x1200, 0x21E, 0x100A, 0xA00, 0 validation errors).python -I tests/semantic/test_saveexec_ext_fixture.py -v(3/3 OK)python -I tests/test_regen_fixtures.py(7/7 OK)python -I tests/test_text_write_line_endings.py(3/3 OK)python -I scripts/check_no_game_data.pyexited 0 on all modified/added files.