Skip to main content

gemm_cplx_unchecked

Function gemm_cplx_unchecked 

Source
pub unsafe fn gemm_cplx_unchecked<T: ComplexScalar>(
    m: usize,
    k: usize,
    n: usize,
    alpha: T,
    a: *const T,
    rsa: isize,
    csa: isize,
    conj_a: bool,
    b: *const T,
    rsb: isize,
    csb: isize,
    conj_b: bool,
    beta: T,
    c: *mut T,
    rsc: isize,
    csc: isize,
    par: Parallelism,
)
Available on crate feature complex only.
Expand description

The raw complex engine: C <- alpha*op(A)*op(B) + beta*C over pointers and isize strides, with no bounds, alias, or shape checks: the complex counterpart of gemm_unchecked, where op conjugates an operand when its conj_* flag is set. Adapter crates (e.g. ndarray) use this path to express transposed or negative strides that the checked API rejects. Uses the thread-local workspace pool

ยงSafety

The caller guarantees a/b valid for reads and c for read+write over every (i,j) implied by the dimensions and strides. c does not alias a/b. When beta == 0, c need not be initialized