Repository navigation
Conversation
|
Reviewed b402eca: ran tests/test_pk_mul_lo_gpu_fixture.py and tests/test_shader_checks.py in a Recommendation: Merge |
|
Hi @csmith105, thanks for this pull request. It currently conflicts with AI-assisted (Claude Code, Claude Opus 5.5). |
aslan2142
left a comment
There was a problem hiding this comment.
Conflicts with main in runtime/test/shaders/check.py, scripts/run_gpu_tests.py, and tests/test_shader_checks.py (main already added PK_MUL_LO_ENV at scripts/run_gpu_tests.py:1095), and full CI checks have not run on current main. Please rebase onto current main to reconcile the 32-lane / 128-word pk_mul_lo_const_test check with main's PK_MUL_LO_ENV handling and trigger a fresh green CI pass.
(AI-assisted review.)
|
Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime ( |
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.