mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 18:28:38 +00:00
docs/design.md lists these LDS atomics as not GPU-verified: the instructions were measured with tools/hw_oracle and the translations CPU-checked, but the translated SPIR-V never ran on a GPU. cs_lds_atomics_ext.asm runs one lane through ds_mskor_b32 (DATA2 bits outside DATA ORed in), ds_mskor_rtn_b32, ds_xor_rtn_b64 then ds_and_b64 on the same element, ds_add_rtn_f32 (1.5 + 2.25), and ds_inc_rtn_u32, ds_dec_u32 and ds_rsub_u32 at their edge cases. The eight expected words are derived in its header from the design.md rows. The fixture is registered in check.py and run_gpu_tests.py next to cs_lds_b64_cmpst, and the four rows note the GPU check.