Tgemm

Trait Tgemm 

Source
pub trait Tgemm: Scalar {
    // Required method
    unsafe fn gemm(
        layout: Layout,
        transa: Transpose,
        transb: Transpose,
        m: i32,
        n: i32,
        k: i32,
        alpha: Self,
        a: &[Self],
        lda: i32,
        b: &[Self],
        ldb: i32,
        beta: Self,
        c: &mut [Self],
        ldc: i32,
    );
}

Required Methods§

Source

unsafe fn gemm( layout: Layout, transa: Transpose, transb: Transpose, m: i32, n: i32, k: i32, alpha: Self, a: &[Self], lda: i32, b: &[Self], ldb: i32, beta: Self, c: &mut [Self], ldc: i32, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Tgemm for f32

Source§

unsafe fn gemm( layout: Layout, transa: Transpose, transb: Transpose, m: i32, n: i32, k: i32, alpha: Self, a: &[Self], lda: i32, b: &[Self], ldb: i32, beta: Self, c: &mut [Self], ldc: i32, )

Source§

impl Tgemm for f64

Source§

unsafe fn gemm( layout: Layout, transa: Transpose, transb: Transpose, m: i32, n: i32, k: i32, alpha: Self, a: &[Self], lda: i32, b: &[Self], ldb: i32, beta: Self, c: &mut [Self], ldc: i32, )

Implementors§