Trait GEMMNum

Source
pub trait GEMMNum: BLASFloat {
    // Required method
    unsafe fn gemm(
        transa: *const c_char,
        transb: *const c_char,
        m: *const blas_int,
        n: *const blas_int,
        k: *const blas_int,
        alpha: *const Self,
        a: *const Self,
        lda: *const blas_int,
        b: *const Self,
        ldb: *const blas_int,
        beta: *const Self,
        c: *mut Self,
        ldc: *const blas_int,
    );
}

Required Methods§

Source

unsafe fn gemm( transa: *const c_char, transb: *const c_char, m: *const blas_int, n: *const blas_int, k: *const blas_int, alpha: *const Self, a: *const Self, lda: *const blas_int, b: *const Self, ldb: *const blas_int, beta: *const Self, c: *mut Self, ldc: *const blas_int, )

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 GEMMNum for f32

Source§

unsafe fn gemm( transa: *const c_char, transb: *const c_char, m: *const blas_int, n: *const blas_int, k: *const blas_int, alpha: *const Self, a: *const Self, lda: *const blas_int, b: *const Self, ldb: *const blas_int, beta: *const Self, c: *mut Self, ldc: *const blas_int, )

Source§

impl GEMMNum for f64

Source§

unsafe fn gemm( transa: *const c_char, transb: *const c_char, m: *const blas_int, n: *const blas_int, k: *const blas_int, alpha: *const Self, a: *const Self, lda: *const blas_int, b: *const Self, ldb: *const blas_int, beta: *const Self, c: *mut Self, ldc: *const blas_int, )

Implementors§