You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
direct compute: vcc_lo / vcc_hi as wave32 SMEM offsets and destinations #3171
Part of #2935 (instruction coverage). Target branch main. I am taking it.
Gap. In wave32, vcc_lo (s106) and vcc_hi (s107) are ordinary scalar data. Captured wave32 programs use them as the SGPR offset of s_load_dwordx8 and s_buffer_load_dword (x1, x2, x4, x16), and load into vcc_lo/vcc_hi. Direct compute refuses both with "unsupported scalar memory addressing".
Measured on a local capture of 2,689 compute requests (counts and instruction shape only), with compile_dxil --jobs 8 gfx1013-direct-cs@36 --requests on main6057071b (the commits since then do not touch gfx1013_compute_native.cpp or gfx1013_direct_compute.inl):
59 requests stop first there.
With the change, all 59 pass it:
51 then stop at "direct resource-heap load requires the selected GPU slot and its view type";
Activity