Skip to main content

bgemm_raw_strided_into_unchecked

Function bgemm_raw_strided_into_unchecked 

Source
pub unsafe fn bgemm_raw_strided_into_unchecked<T>(
    c: RawStridedMut<'_, T>,
    a: RawStridedRef<'_, T>,
    b: RawStridedRef<'_, T>,
    n_batch: usize,
    n_lo: usize,
    n_ro: usize,
    n_sum: usize,
    alpha: T,
    beta: T,
    conj_a: bool,
    conj_b: bool,
) -> Result<()>
Expand description

Batched strided GEMM on raw borrowed layout metadata without validation.

ยงSafety

The caller must ensure:

  • all raw strided operands are in bounds,
  • n_lo, n_ro, n_sum, and n_batch partition operand ranks as [lo, sum, batch], [sum, ro, batch], and [lo, ro, batch],
  • matching dimension groups have identical extents,
  • c does not alias a or b in a way that violates mutable access.