Files
metal2vulkan/crates
Anees Iqbal b620952743 tns_mm_left fixture: matmul2d with a cooperative left input, and its construction
The owned fixture tns_mm_left, built for macOS 27 (each run the header's _v2 form), computes
out = A * B + C over the descriptors macOS 27's gather matmul kernels use, 16 x 32 x 32 and
32 x 32 x 32 over one simdgroup, A a cooperative left input filled by coordinate, B transposed or
not in device memory, in threadgroup memory or as a cooperative right input, in float, half and
bfloat (36 variants), one M x 32 tile per threadgroup from blocks a buffer names. Its second
kernel, tns_init_left, reads what constructing a cooperative left input in a loop's body leaves
in its storage, as tns_init reads a destination's and a right input's. The run forms are the
gather kernels' own: run_cooperative_<t>_dv_<t>_f32_v2, run_cooperative_<t>_tg_<t>_f32_v2 and
run_cooperative_<t>_<t>_f32_v2.
2026-11-12 19:23:39 -08:00
..