diff options
| author | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-25 04:25:22 +0200 |
|---|---|---|
| committer | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-25 22:59:07 +0200 |
| commit | 706eceaf02ffad0b2445333503c6ebc8c1b92b78 (patch) | |
| tree | 1503924305d40a77be8cee67a38e56f0e2845607 /runtime/src/main.cpp | |
| parent | db1a22d290f5e86fff9282fce3d4e02e788b05b4 (diff) | |
crosslane_fuzz: --pc-tail-ubo for 128-byte push constant GPUs
On GPUs whose push constant block is 128 bytes (AMD iGPUs) every
rdna2spirv.py translation fails with "need 144 push constant bytes"
unless --pc-tail-ubo moves the tail to a UBO, and vk_compute_test then
needs LEONIDA_PC_TAIL_UBO=1 to bind the same layout -- the same pairing
lds_fuzz.py, valu_fuzz.py and image_fuzz.py already implement. This
adds the flag (also enabled by LEONIDA_PC_TAIL_UBO=1) and forwards it
to both the translator and the harness, including the --minimize path.
AI-assisted. Tested: tests/test_crosslane_fuzz.py (76 tests), and a
GPU spot-check on the AMD iGPU (Vulkan, validation on): 8 programs,
wave32 native + wave64 emulate, all match with no harness errors.
Co-Authored-By: Devin <noreply@cognition.ai>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions