You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TEST-PK-MUL-GPUAV: size and verify the packed-multiply fixture for all lanes - #481
cs_pk_mul_lo_const dispatches 32 lanes that each read/write four words, requiring 512 bytes. Both GPU runners used the harness default 256-byte output buffer and checked only the first eight console words. With GPU-assisted validation, stores from lane 16 onward go out of bounds even though those first words match the oracle (the outstanding finding reported with #382).
Use one shared fixture helper in both runners to allocate 128 words and compare every lane's readback. Keep nonzero harness exits and missing, short, or corrupt readbacks as failures. Shader translation, the synthetic shader, and global harness defaults are unchanged.
Reviewed b402eca: ran tests/test_pk_mul_lo_gpu_fixture.py and tests/test_shader_checks.py in a
sandbox on the PR (3 and 87 tests pass) and against main (main's versions pass, the PR's versions
fail on main, so they test the change), plus compileall and imports of both touched scripts and
check_no_game_data.py (clean). A mocked-harness probe shows main passing cs_pk_mul_lo_const while
lane 31's word is flipped and the fixture writes past the harness's default 64-word heap, where this
PR allocates 128 words, checks all 32 lanes and fails the same input ("word 127: expected 0x00077f6c,
got 0x00077f6d"). On Mesa llvmpipe (software Vulkan) run_gpu_tests.py --filter cs_pk_mul_lo_const.asm passes with 128/128 dumped words exact. No findings; not run on a hardware GPU. AI-assisted review.
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
needs rebaseConflicts with the base branch: rebase it on main
3 participants
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: TEST-PK-MUL-GPUAV
What and why
cs_pk_mul_lo_constdispatches 32 lanes that each read/write four words, requiring 512 bytes. Both GPU runners used the harness default 256-byte output buffer and checked only the first eight console words. With GPU-assisted validation, stores from lane 16 onward go out of bounds even though those first words match the oracle (the outstanding finding reported with #382).Use one shared fixture helper in both runners to allocate 128 words and compare every lane's readback. Keep nonzero harness exits and missing, short, or corrupt readbacks as failures. Shader translation, the synthetic shader, and global harness defaults are unchanged.
Tested
Native Windows 11, NVIDIA RTX 3080 10 GB, driver 610.88, SPIRV-Tools 2026.4, Khronos validation layer 1.4.357.0; wave64 emulation and GPU-assisted validation enabled:
run_gpu_tests.py --filter cs_pk_mul_lo_const --require-passusing checked-in disassembly: 1/1 translated, 1/1 passed spirv-val, GPU pass with 128/128 exact words. Before/after SPIR-V is byte-identical.python -I scripts/run_semantic_tests.py tests/semantic -j 8, SPIRV-Tools available). Compilation, CLI smoke, no-game-data checks andgit diff --checkalso pass. Independent source review found no blockers.GPUs tested: NVIDIA GeForce RTX 3080 10 GB, driver 610.88, Windows 11 build 26300.
AI-assisted: yes, OpenAI Codex, supervised through csmith105's session.
Checklist
mainand merges cleanly.