Skip to content

test(gpu): cover the 64-bit LDS bitwise ops and the two-dword exchanges - #3208

Open
YaBulochka wants to merge 1 commit into
ItsNotRexed:mainfrom
YaBulochka:gpu-lds-fixtures
Open

YaBulochka wants to merge 1 commit into
ItsNotRexed:mainfrom
YaBulochka:gpu-lds-fixtures

Conversation

@YaBulochka

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: #1745 (comment)

What and why

Two rows of the contract table were CPU-only because their instructions are awkward to assemble for gfx11, not because they are unreachable: llvm-mc 23 refuses the non-returning ds_and_b64/ds_or_b64/ds_xor_b64 and the pair-operand spelling of ds_wrxchg2_rtn_b32, but accepts the _rtn_ forms and ds_wrxchg2_rtn_b32 vdst, vaddr, data0, data1. The translated SPIR-V is device-independent, so the fixtures run on any GPU.

  • cs_w32_lds_b64_bitwise.asm: ds_and_rtn_b64, ds_or_rtn_b64, ds_xor_rtn_b64 chained on one LDS element. Checks that M = M op DATA on both dwords and that vdst gets the old value, then reads the final element back. Expected words derived from the ISA before running.
  • cs_w32_lds_wrxchg2.asm: ds_wrxchg2_rtn_b32 and ds_wrxchg2st64_rtn_b32 with explicit offset0:0 offset1:1. Checks the two addresses (unit 4, unit 256 for st64), the order of the old dwords in vdst, and that the data lands at both addresses. Both offsets default to 0, so an instruction without offset1: exchanges the same address twice; the fixture pins the explicit form.

Registered in runtime/test/shaders/check.py (wave32 lists, lane-mask skip list, expected words) and scripts/run_gpu_tests.py (runner tuple and cs_dump_wants). The two docs/design.md rows now carry the hardware result instead of "not GPU-verified".

Tested

AMD Radeon RX 7600 (gfx1102), RADV Mesa 27.0.0-devel, Linux 7.3.3, llvm-mc 23.1.5.

  • Filtered: run_gpu_tests.py --filter cs_w32_lds -> 3/3 passed, the two new fixtures and the existing cs_w32_lds_u8_d16.
    PASS  cs_w32_lds_b64_bitwise  2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480
    PASS  cs_w32_lds_wrxchg2      2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612
    
  • Full suite: 196 shaders, 196 translated, 196 pass spirv-val; 177/191 passed, 14 skipped, 0 failed.
  • ctest: 34/36. The two failures (vk_pipeline_check_cli, xdxr_build_check) are present on clean origin/main at 16282101 with these changes stashed, so they are not from this PR.

Checklist

  • No game data, keys or decryption; the fixtures are hand-written assembly with seeds and expected words in their headers.
  • No new translator rule: the rows already described the behaviour, only their verification status changes.

@bobcatchris

Copy link
Copy Markdown
Contributor

Apple M2 check of head 07bdd68 (macOS 26.4, MoltenVK 1.4.2 direct, subgroup 4..32, llvm-mc 23.1.6, Python 3.13.18): translation is fine but the new fixtures cannot be judged on this device yet.

  • --filter lds_b64: 2 shaders translated, 2 pass spirv-val; 0/2 passed, 2 skipped (cs_lds_b64_cmpst and cs_w32_lds_b64_bitwise: "the device can't run this shader at 32 lanes on request" / "no 64-wide compute subgroup on this device").
  • --filter wrxchg2: 1 shader translated, 1 pass spirv-val; 0/1 passed, 1 skipped (cs_w32_lds_wrxchg2: no 64-wide compute subgroup).
  • With LEONIDA_W64_EMULATE=1 both filters still skip all three tests (32-lane request cannot be pinned).

So I am NOT claiming any of these new tests passed on this Mac. The skips are the known MoltenVK 32-lane harness limitation; open PR #2886 addresses exactly that and would let these run. No regressions observed in what did execute; no code changed by me, head fetched read-only.

Build note: full build fails at vk_pipeline_check.cpp:567 on AppleClang 17 (BUILD-822, fix in open PR #2927); GPU binaries built. Synthetic shaders and counts only; no game files.

AI-assisted.

@Rainmaker33

Copy link
Copy Markdown

Tested 07bdd68 on NVIDIA GeForce RTX 3090 (Ampere, subgroup 32..32), driver 610.88 (Vulkan 1.4.341), Windows 11 Pro 26300: the two new wave32 fixtures are skipped on 32-wide GPUs. The values are right once they run.

The PR's diff applied cleanly to main 1628210. VS 2022, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8; harness programs from a CMake build of main; overlay layers off.

  • scripts/run_gpu_tests.py: cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2 both report SKIP (no 64-wide compute subgroup on this device), though both are +wavefrontsize32 fixtures.
  • Cause: in run_gpu_tests.py (around line 998), wave64 = name not in ("cs_store", ..., "cs_mask_vgpr_exec", ...) doesn't list the two new names. So they run with --require-wave64, and the exit 77 from a 32-wide device becomes a skip. That may also be why @bobcatchris's M2 couldn't run them. Adding both names to that wave32 tuple should fix it; check.py already lists them at lines 87 and 95.
  • With LEONIDA_W64_EMULATE=1 --filter cs_w32_lds_, where --require-wave64 isn't passed, both pass with the expected words:
    • cs_w32_lds_b64_bitwise: 2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480
    • cs_w32_lds_wrxchg2: 2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612
  • The rest of the suite: 142/191 pass, 48 skipped. The one failure, ps_sdwa_f16_const, is on main too (rdna2spirv: declare DenormPreserve 16 so a driver keeps f16 denormals (SHADER-526) #3040 fixes it).

@hidrogenone

Copy link
Copy Markdown
Contributor

Tested 07bdd687 on NVIDIA GeForce RTX 5080 (Blackwell), driver 32.0.16.2124, Windows 11, Vulkan SDK 1.4.357.0. llvm-mc LLVM 21.1.8 (WSL Ubuntu).

Both new shaders need a 64-wide compute subgroup, which this 32-wide NVIDIA device skips natively. Under wave64 emulation (LEONIDA_W64_EMULATE=1) both pass:

cs_w32_lds_b64_bitwise   pass
cs_w32_lds_wrxchg2       pass

Translated and spirv-val clean. NVIDIA Blackwell coverage of the emulated path (a native 64-wide run still needs an AMD card). AI-assisted.

@TricksterG

Copy link
Copy Markdown
Contributor

Tested on an NVIDIA GeForce RTX 5090 (Windows 11, driver 621.24, Vulkan SDK 1.4.363.0), LEONIDA_VK_VALIDATION=1, built at 07bdd68:

  • native: both fixtures SKIP (no 64-wide compute subgroup on NVIDIA)
  • LEONIDA_W64_EMULATE=1:
    • PASS cs_w32_lds_b64_bitwise 2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480
    • PASS cs_w32_lds_wrxchg2 2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612

@emirduran707

Copy link
Copy Markdown
Contributor

Tested 07bdd68 on AMD Radeon RX 9060 XT (RDNA4), AMD driver 26.10.44 (LLPC, Vulkan driver 2.0.395), Windows 11 Pro 10.0.26300, subgroup 32..64: pass. The checks above have no AMD run from outside the author; this adds an AMD card with native 64-wide subgroups.

  • python -I scripts/run_gpu_tests.py --build <build> --filter <fixture>, one run per new fixture:
    • cs_w32_lds_b64_bitwise: PASS, 2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480; same with LEONIDA_W64_EMULATE=1
    • cs_w32_lds_wrxchg2: PASS, 2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612; same with LEONIDA_W64_EMULATE=1
  • Whole suite (native wave64): 196 shaders translated, 196 pass spirv-val; 177/191 passed, 14 skipped, 0 failed. The skips are the 14 fixtures the d3d12_* tests run.
  • build.py + check.py: 216 shaders: 216 translated, 216 pass spirv-val; 166 of 169 pass, 3 skipped; ok for cs_w32_lds_b64_bitwise, cs_w32_lds_wrxchg2.
  • CPU: tests/test_shader_checks.py 69 OK, tests/test_run_gpu_tests.py 34 OK, tests/semantic/regen_fixtures.py --check clean. I did not run the whole tests/semantic suite.

Test programs: an MSVC 14.44 build of main ec8ec4c; this PR's runtime C++ and CMake are identical to that commit, and the translator, runner and check.py are this PR's. llvm-mc 21.1.8 (native), Vulkan SDK 1.4.363.0. No negative control run here. No game files. AI-assisted (Claude Code).

@maxhurst131

maxhurst131 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Independent check, AI-assisted, two vendors.

Environment: Windows 11 build 26300, MSVC RelWithDebInfo vk_harness/vk_compute_test, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8 (WSL Ubuntu), python -I scripts/run_gpu_tests.py --llvm-mc "wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc" --filter cs_w32_lds --require-pass.

AMD Radeon(TM) Graphics (gfx1036, Ryzen 5 7600X), driver 32.0.21045.29003, subgroup 32..64: 3/3 pass. The two new fixtures print exactly the words from your RADV run:

PASS  cs_w32_lds_b64_bitwise  2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480
PASS  cs_w32_lds_wrxchg2      2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612

NVIDIA GeForce RTX 5070, driver 32.0.16.2124, subgroup 32..32: 1/3 pass, the two new fixtures skip:

SKIP  cs_w32_lds_b64_bitwise  SKIP (no 64-wide compute subgroup on this device)
SKIP  cs_w32_lds_wrxchg2      SKIP (no 64-wide compute subgroup on this device)

They are wave32 fixtures (mattr: +wavefrontsize32, only lane 0 runs, no lane masks), so that skip looks unintended. Cause: scripts/run_gpu_tests.py computes wave64 = name not in (...) and the exclusion tuple lists cs_w32_lds_u8_d16 but not the two new names, so they are run with --require-wave64 and vk_compute_test exits 77 on a 32-only device.

Running the same .spv directly at 32 lanes, without --require-wave64, passes on the RTX 5070:

compute subgroup size: 32
1 groups x 64: 0 mismatches
out[0..7] = 2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480
out[0..7] = 2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612

So the fixtures themselves are right on both vendors; only the registration over-restricts them. Adding "cs_w32_lds_wrxchg2", "cs_w32_lds_b64_bitwise" to that exclusion tuple would make them run everywhere cs_w32_lds_u8_d16 does. Minor, same cause: they are also in WAVE32_LANE_DUMPS, which is documented as the lane-mask list and subjects them to wave32_lane_skip; cs_w32_lds_u8_d16 is only in WAVE32_DUMPS and is the closer pattern, since a single-lane fixture does not need 32 lanes either.

No game files used; counts only.

@javdc

javdc commented Nov 22, 2026

Copy link
Copy Markdown

Tested 17a7743 on Steam Deck LCD (Jupiter), AMD Custom GPU 0405 "Van Gogh", RADV Mesa 26.2.0-devel (git-5c65d4fc31), Vulkan 1.4.350, SteamOS 3.9.5 (holo), kernel 7.2.7-valve2-2-neptune-72-g31504582a073: pass.

New GPU fixtures:

  • cs_w32_lds_b64_bitwise — PASS
  • cs_w32_lds_wrxchg2 — PASS

Full GPU suite (run from PR worktree against main runtime build):

  • python3 -I scripts/run_gpu_tests.py --build /home/deck/opencode/Leonida/runtime/build — 186/201 passed, 14 skipped, 0 failed. Total/skip count differs from current-main baseline (175/189 pass, 14 skip) likely due to PR-branch script/test-set version skew vs main runtime build; no failures observed.

AI-assisted (OpenCode).

@crastinator

Copy link
Copy Markdown
Contributor

Tested 07bdd68 merged into main 16282101 (clean merge) on AMD Radeon RX 6700 XT (Navi 22, gfx1031, subgroup 32..64), RADV Mesa 26.3.1, CachyOS, Linux 7.3.5, GCC 16.2.1, llvm-mc 23.1.5: pass.

  • New tests pass natively: cs_w32_lds_b64_bitwise (2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480); cs_w32_lds_wrxchg2 (2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612).
  • Whole run_gpu_tests.py: 177/191 native, 177/191 with LEONIDA_W64_EMULATE=1 (the skips are the D3D12-only fixtures and ps_w64x_readlane, as on main). ctest 37/37.

No game files. AI-assisted (Claude Code).

@JRamos1993

Copy link
Copy Markdown
Contributor

Tested 07bdd68 on an RTX 5090 (driver 616.92), Windows 11, Vulkan SDK 1.4.363. The GPU test programs were built from the same tree:

  • scripts/run_gpu_tests.py: 143/191 passed, 48 skipped, 0 failed. main 1628210 gives 143/189, 46 skipped, 0 failed. All 196 test shaders translate and pass spirv-val.
  • New GPU tests: cs_w32_lds_b64_bitwise SKIP, cs_w32_lds_wrxchg2 SKIP.

The two new wave32 tests never run on a 32-wide GPU. They report SKIP (no 64-wide compute subgroup on this device) here. The PR adds them to check.py's WAVE32_DUMPS, but not to run_gpu_tests.py's own wave32 list (wave64 = name not in (...), line 998, which has cs_w32_salu64, cs_mask_vgpr_exec and the rest). So the runner treats them as wave64 and passes --require-wave64. Adding cs_w32_lds_wrxchg2 and cs_w32_lds_b64_bitwise to that tuple should let them run on NVIDIA and Intel.

AI-assisted (Claude Code).

@Rainmaker33

Copy link
Copy Markdown

Retested the new head 1fd5086 (applied to main f847748) on the RTX 3090 (610.88, Windows 11): still skipped natively. cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2 both give SKIP (no 64-wide compute subgroup on this device).

The new commit doesn't add the two names to the wave64 = name not in (...) wave32 tuple in scripts/run_gpu_tests.py: grepping that tuple finds neither. That is the same cause as in my earlier comment, and it is why the NVIDIA runs above (RTX 5080, RTX 5090) skip them too, while AMD cards with 64-wide subgroups run them. Adding both names there should let 32-wide GPUs run these wave32 fixtures natively.

@umnitus

umnitus commented Nov 22, 2026

Copy link
Copy Markdown

Independent GPU check at 1fd5086 on Windows 11, Ryzen 5 3600, RTX 3060 12 GB, NVIDIA driver 621.14.

Command:
python -B -I scripts/run_gpu_tests.py --build --work --filter cs_w32_lds

I ran the same filter twice with separate work directories, using the existing local Vulkan harness from #2582. All three shaders translated and passed spirv-val in both runs.

LEONIDA_W64_EMULATE=0:

  • cs_w32_lds_u8_d16: PASS, 8/8 words matched.
  • cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2: SKIP (no native 64-wide compute subgroup).
  • Summary: 1 passed, 2 skipped, exit 0.

LEONIDA_W64_EMULATE=1:

  • cs_w32_lds_b64_bitwise: PASS, 8/8 words matched.
  • cs_w32_lds_wrxchg2: PASS, 8/8 words matched.
  • cs_w32_lds_u8_d16: PASS, 8/8 words matched.
  • Summary: 3 passed, 0 skipped, exit 0.

AI-assisted testing and write-up.

@ricardotanaka

Copy link
Copy Markdown

Re-tested the current head bc22ee58 (force-pushed after the checks above, which are on 07bdd68/1fd5086) on AMD Radeon RX 7600 (RDNA3, AMD driver 26.11.2), Windows 11, merged on main 03b09a08: pass. run_gpu_tests.py --filter cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2, with LEONIDA_VK_VALIDATION=1, natively and with LEONIDA_W64_EMULATE=1: 1/1 each, translated and spirv-val clean. AI-assisted (Claude Code).

@tylerstraub

Copy link
Copy Markdown
Contributor

Tested bc22ee589a5609df119ebba93f18803c0c9db3c8 on NVIDIA GeForce RTX 5090, 595.99.02 (Linux).

Confirmed @Rainmaker33’s native-runner finding on the current head bc22ee589a5609df119ebba93f18803c0c9db3c8, on Linux with an RTX 5090, driver 595.99.02 (subgroup 32..32).

With LEONIDA_W64_EMULATE=0, the stock runner translates and validates both shaders, then skips each for lack of a 64-wide compute subgroup. I ran those same two SPIR-V modules directly with VKC_SUBGROUP_SIZE=32 vk_compute_test <module> 1 dump. The harness confirmed subgroup size 32. All eight words matched the fixture expectations for each shader.

Fixture Native 32-wide readback (hex)
cs_w32_lds_b64_bitwise aaaaaaaa ffff0000 00000000 0f0f0000 ffff0000 0f0fffff ffffffff f0f00000
cs_w32_lds_wrxchg2 aaaaaaaa bbbbbbbb cccccccc dddddddd 11111111 22222222 33333333 44444444

Both names are registered in the expected-word table but absent from the wave32 exceptions in the runner’s wave64 = name not in (...) check. Adding them there would let the default NVIDIA run exercise the two fixtures. A focused regression check can require a pass for each with wave64 emulation disabled.

AI-assisted verification.

@sperm

sperm commented Nov 23, 2026

Copy link
Copy Markdown

Tested bc22ee5 on AMD Radeon RX 9070 XT (RADV GFX1201) and the Ryzen 7 9800X3D iGPU (RADV RAPHAEL_MENDOCINO, gfx1036), Mesa 26.2.6, Linux 7.3.4: pass, no regressions.

  • Full python -I scripts/run_gpu_tests.py (Linux build of this branch's runtime/, LEONIDA_VK_DEVICE per GPU): 198/212 passed, 14 skipped, 0 failed on both GPUs. Compared with the same suite at the merge base aa2988c on the same machine, every shared test has the same result, and the 2 tests this PR adds (cs_w32_lds_b64_bitwise, cs_w32_lds_wrxchg2) pass on both GPUs.

No game files. AI-assisted.

@wavehs

wavehs commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Tested bc22ee5 on macOS 27.2.1 / CPython 3.15.2, KosmicKrisp (Mesa 26.3.0, Apple M3 Pro, subgroup 32..32, llvm-mc 23.1.5), build from this branch; no game files: @tylerstraub's finding reproduces on the current head.

LEONIDA_W64_EMULATE=0 ... --filter cs_w32_lds gives 3/5 passed, 2 skipped - both new fixtures report SKIP (no 64-wide compute subgroup on this device) while cs_w32_lds_u8_d16/_subdword/_wide pass; with LEONIDA_W64_EMULATE=1 it is 5/5. Adding "cs_w32_lds_wrxchg2", "cs_w32_lds_b64_bitwise" to the wave64 = name not in (...) tuple (scripts/run_gpu_tests.py:1069) makes it 5/5 natively with the expected words. That tuple is exactly check.WAVE32_DUMPS minus these two names (33 vs 35), so the omission is the only difference; check.py's own path already runs them (compute_test with its flags returns ok).

Minor, same area: both are also in WAVE32_LANE_DUMPS (check.py:95-96), so llvmpipe (subgroup 4..4) still skips them as "narrower than 32 lanes" although the same .spv at 4 lanes matches all 8 words; the neighbouring cs_w32_lds_u8_d16, which also only touches lane 0, is in WAVE32_DUMPS only. Dropping them from WAVE32_LANE_DUMPS would give coverage in CI.

compileall clean; tests/test_shader_checks.py 75 OK, tests/test_run_gpu_tests.py 40 OK - neither compares the runner's tuple with check.WAVE32_DUMPS, which is how the divergence got through. AI-assisted.

@kapitche

Copy link
Copy Markdown
Contributor

Tested bc22ee5 merged with main 03b09a0 on Windows 11 with two GPUs (MSVC 14.51): built vk_compute_test, vk_store_test and vk_harness; run_gpu_tests.py --filter cs_w32_lds_.

  • Native, NVIDIA RTX 4080 SUPER and Intel UHD 770 (32.0.101.6129): 3/5 passed, 2 skipped on both. The two new fixtures cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2 print SKIP (no 64-wide compute subgroup on this device).
  • With LEONIDA_W64_EMULATE=1: 5/5 passed on both GPUs, and the new fixtures return the words in check.py.

Concern (verified): the PR adds the two names to the wave32 lists in check.py and to cs_dump_wants in run_gpu_tests.py, but not to the wave64 = name not in (...) tuple in run_suite (around line 1062, which already lists cs_w32_new_ops, cs_w32_lds_subdword, ...). So natively they run with --require-wave64 and skip on any GPU without a 64-wide subgroup, which includes both GPUs here; they only executed on the author's RADV. Adding the two names to that tuple should make them run on 32-wide devices.

Negative control: the PR touches no translator or runtime file, so main has nothing to restore; changing the first expected word of cs_w32_lds_wrxchg2 to 0xAAAAAAAB makes the emulated run FAIL on the NVIDIA GPU.

@tylerstraub

Copy link
Copy Markdown
Contributor

Tested c82ebcbfce16f8901483c67c86396319788369a3 on NVIDIA GeForce RTX 5090, 595.99.02 (Linux).

Rechecked the two wave32 LDS fixtures at c82ebcbf on Linux RTX 5090 with wave64 emulation disabled. Both shaders translated and passed SPIR-V validation. The stock runner then skipped both because it required a 64-wide compute subgroup.

Running the same modules directly with vk_compute_test at subgroup size 32 produced all eight expected words for each fixture. In output order, hexadecimal:

  • cs_w32_lds_b64_bitwise: aaaaaaaa ffff0000 00000000 0f0f0000 ffff0000 0f0fffff ffffffff f0f00000
  • cs_w32_lds_wrxchg2: aaaaaaaa bbbbbbbb cccccccc dddddddd 11111111 22222222 33333333 44444444

The runner still needs to select wave32 for these fixtures to count them as passes on this device.

AI-assisted verification.

@bunbeans2-arch

Copy link
Copy Markdown

Tested the current head c82ebcb on an AMD Radeon RX 9070 XT (RDNA4, subgroup 32..64) with AMD's Windows driver,
Windows 11 23H2. scripts/run_gpu_tests.py --require-pass gives 204/219 passed, 15 skipped. Both new fixtures pass:
cs_w32_lds_b64_bitwise and cs_w32_lds_wrxchg2. The earlier AMD checks were at older heads (bc22ee5 and before).
AI-assisted (Claude Code). No game files.

@gertify

gertify commented Nov 23, 2026

Copy link
Copy Markdown

Tested c82ebcb on Intel UHD 630 (CFL GT2, subgroup 8..32), Mesa 25.2.8 ANV, Ubuntu 24.04: run_gpu_tests.py --filter cs_w32_lds skips the two new fixtures, "SKIP cs_w32_lds_b64_bitwise SKIP (no 64-wide compute subgroup on this device)" and the same for cs_w32_lds_wrxchg2, while cs_w32_lds_subdword, cs_w32_lds_u8_d16 and cs_w32_lds_wide pass. The two new names are not in the tuple in scripts/run_gpu_tests.py (the one starting "cs_store", "cs_signed_zero_nan" that ends with cs_w32_lds_subdword and cs_w32_lds_wide) that leaves a fixture out of --require-wave64, so on a device whose widest subgroup is 32 the runner skips them. Dispatched directly, vk_compute_test .spv 1 dump on this GPU prints out[0..7] = 2863311530 4294901760 0 252641280 4294901760 252706815 4294967295 4042260480 for cs_w32_lds_b64_bitwise and 2863311530 3149642683 3435973836 3722304989 286331153 572662306 858993459 1145324612 for cs_w32_lds_wrxchg2, which are the expected words listed for them in run_gpu_tests.py (0xAAAAAAAA 0xFFFF0000 0x0 0x0F0F0000 ... and 0xAAAAAAAA 0xBBBBBBBB ... 0x44444444). Listing both names next to cs_w32_lds_subdword should let them run here; I did not try that edit. The full run_gpu_tests.py suite gives 154/219 passed, 63 skipped, with FAIL cs_fmt_int_narrow and cs_signed_zero_nan, the same 154 passes and two failures as main, plus the two new skips. test_run_gpu_tests.py passes (41 tests).

AI-assisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.