tiny.simd.perBlock2x2MatMul
Defined in matmul.
Source
Source: lib/simd/src/matmul.zig:4
zig
pub fn perBlock2x2MatMul( comptime D: type, a: anytype, b: @TypeOf(a), c: D.Vector,) D.Vector { validateDescriptor(D); if (comptime D.Lane == i32) { validateVector(@TypeOf(a), i8, D.lane_count * 4); return int8MatMul(D, a, b, c); } if (comptime D.Lane == f32) { validateVector(@TypeOf(a), u16, D.lane_count * 2); return bfloatMatMul(D, a, b, c); } @compileError("2x2 block matrix multiplication requires i32 or f32 accumulators");}Source: lib/simd/src/root.zig:497
zig
pub const perBlock2x2MatMul = matmul.perBlock2x2MatMul;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |