pub fn gemm<T: GemmScalar>(
backend: Option<&GemmBackendHandle>,
transa: Transpose,
transb: Transpose,
m: usize,
n: usize,
k: usize,
alpha: T,
a: &[T],
lda: usize,
b: &[T],
ldb: usize,
beta: T,
c: &mut [T],
ldc: usize,
) -> Result<(), GemmError>Expand description
Safe column-major GEMM: C <- alpha * op(A) * op(B) + beta * C.
op(A) is m x k, op(B) is k x n, and C is m x n; the stored
operands are addressed through their leading dimensions.
ยงErrors
Returns GemmError::InvalidArgument when a buffer is too short or a
leading dimension is too small, and GemmError::DimensionOverflow when
an LP64 backend cannot represent a dimension.