def gemm_t8b

bend-ml-tensor-array@0.1.19.0 · main.bend:1137

import bend-ml-tensor-array@0.1.19.0/main.bend as BendMlTensorArray
import Base

1137def gemm_t8b(+ac: Bool, d: Nat, +n: Nat, +m: Nat, +k: Nat, +tk: Nat, +tku: U32, +rot: Nat, +arow: U32, +sa: U32, +sb: U32, +bcol: U32, a: Array<F32>, b: Array<F32>, c: Array<F32>) -> G:
1138  match d:
1139    case 0n:
1140      t8_out_seq(ac, n, m, tk, tku, rot, c, t8_pk2(pk_pack(n, tk, k, arow, sa, a), pk_pack(m, tk, k, bcol, sb, b)))
1141    case 1n+q:
1142      t8_par2(ac, Nat.is_le(m, n), 1n+q, n, m, k, tk, tku, rot, arow, sa, sb, bcol, a, b, c)

Uses (11)

Used by (1)