Commit Graph

2 Commits

Author SHA1 Message Date
3262b775e0 test_ds_append: the reference reads one shared LDS word
main's spirv_mini_interp.run_workgroup now shares Workgroup memory between
invocations (#3976 was written when every invocation had its own copy), so
every lane reads back the one changed word: the op ran once, with the
active count. Translator output is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:54:28 +00:00
0fc8a15c56 rdna2spirv: ds_append and ds_consume (LDS)
One add / subtract of the wave's active-lane count at the offset address,
done by the first active lane; the old value to every active lane by a
subgroup shuffle (an exchange round under --wave64-emulate). Measured
natively on gfx1036: the offset alone is the address, M0 does not move it.
The gds form stays Unsupported. GPU fixtures cs_w32/w64_ds_append, semantic
test test_ds_append.py, design.md row.

AI-assisted.
2026-11-22 23:44:51 +01:00