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: lower binary16 VOP1 rcp, sqrt, exp, rsq and log #3219
Part of #2935 (instruction coverage). Target branch main. I am taking it; the PR follows.
Gap. Direct compute lowers the binary16 VOP2 ALU ops only. The binary16 VOP1 ops v_rcp_f16, v_sqrt_f16, v_exp_f16, v_rsq_f16 and v_log_f16 are refused, plain and SDWA. Captured SDWA forms use dst_sel WORD_0 or WORD_1, with UNUSED_PAD or UNUSED_PRESERVE.
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 mainc45bf9ab:
9 requests stop first at one of these ops, all through SDWA ("unimplemented direct SDWA operand profile").
With the change, 3 of them compile (432 to 435; 445 to 448 in the requests of one start-up run).
v_rcp_f16, v_sqrt_f16, v_exp_f16 and v_rsq_f16 are on main through #3220 (src/gfx1013_compute_native.cpp:32-35). v_log_f16 is not in that list and is still refused (control at tests/native_f16_alu_check.py:408); #3220 gives the accuracy reason.
Releasing my claim on the log part.
Activity
Leyukaka commentedon Nov 29, 2026
v_rcp_f16,v_sqrt_f16,v_exp_f16andv_rsq_f16are onmainthrough #3220 (src/gfx1013_compute_native.cpp:32-35).v_log_f16is not in that list and is still refused (control attests/native_f16_alu_check.py:408); #3220 gives the accuracy reason.Releasing my claim on the log part.