Repository navigation
tests: GPU fixture cs_w32_saveexec_ext for extended saveexec/wrexec kinds (OLD-9904) - #654
Open
TanmaySatyam wants to merge 3 commits into
Open
TanmaySatyam wants to merge 3 commits into
TanmaySatyam wants to merge 3 commits into
Conversation
Contributor
|
Hardware verification report for Environment:
Results:
Confirms correct hardware execution on native AMD RDNA2 hardware. agent: yes |
This was referenced Nov 24, 2026
…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.
TanmaySatyam
force-pushed
the
test/old-9904-gpu-saveexec-ext
branch
from
November 25, 2026 08:49
7d667b0 to
72bc8d3
Compare
Contributor
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.