tiny.simd.matVecBFloatF32
Defined in matvec.
Source
Source: lib/simd/src/matvec.zig:34
zig
pub fn computeBFloatF32( comptime D: type, matrix: []const bfloat.BFloat16, vector: []const f32, output: []f32,) void { if (comptime D.Lane != f32) @compileError("mixed matvec requires an f32 descriptor"); validateShape(matrix.len, vector.len, output.len); for (output, 0..) |*result, row| { const begin = row * vector.len; result.* = dot.computeF32BFloat(D, vector, matrix[begin .. begin + vector.len]); }}Source: lib/simd/src/root.zig:501
zig
pub const matVecBFloatF32 = matvec.computeBFloatF32;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |