mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:20:51 +01:00
[GH-ISSUE #1813] Apple M3 (MoltenVK 1.4.2): wave32 words=1 dump path verified, 15/15 unit tests #48
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#48
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EvgHaze on GitHub (Nov 25, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/1813
What this records
The wave=32 path of
tools/vk_fuzz_run.py— the shape that PR #388 fixed (awords=1, wave=32request against a dump that is at least one 64-word group) — verified on Apple hardware, plus the merged unit tests on macOS. Reported in context in #388; this issue is the findable home.Environment
0d80bc5,cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo, 198 targets, 33vk_*toolsResults
python3 -I tests/test_vk_fuzz_run.py→ 15 tests, OK (same count as the merge comment).run_programs(words=1, wave=32)with a program that stores the lane id fromv20:All 32 lanes come back in order, and the uniform check still rejects a program whose lanes differ. Before #388 this request returned no lanes at all.
What this is not
Not a hardware comparison:
vint_diff.py --oracle hw,vkexits withhardware oracle unavailable: the launcher targets the Windows AMD driver (amdhip64_7.dll), so thehw,vkdifferential mode cannot run on a Mac. This is the wrapper plusvk_compute_teston a 32-wide host.AI-assisted. No game data: one hand-written program, and the numbers above are its output.
@GeorgiyDemo commented on GitHub (Nov 25, 2026):
Apple M5 Pro run of the same wave32 shape, for a second SoC/OS pair.
Unit test file:
python3 -I tests/test_vk_fuzz_run.py→ 15 tests, OK.run_programs(words=1, wave=32), with["v_mov_b32 v8, v20"](the program stores the lane id from v20; the dump is 64 words and the request is 32):Same words and order as the M3/macOS 27 run above, so the wrapper plus
vk_compute_testbehaves identically on macOS 26.7.3 / M5 — this is not specific to the newer OS.What this is not: no hardware comparison.
vint_diff.py --oracle hw,vkstill reports the Windows AMD launcher (amdhip64_7.dll) as unavailable on a Mac, same as the M3 note; this is the wrapper plusvk_compute_teston a 32-wide host.AI-assisted. No game data: one hand-written program, and the numbers above are its output.