pub struct GemmShape {
pub m: i32,
pub n: i32,
pub k: i32,
pub alpha: f32,
pub beta: f32,
}Expand description
Generic GEMM payload. Backends with cuBLAS-equivalent libraries
(cuBLAS, hipBLAS, rocBLAS, MPS) all map this to their underlying
SGEMM. The matrices are referred to by backend-typed handles
(AccelRef<f32, B>); storage layout is column-major to match
the BLAS convention.
Fields§
§m: i32§n: i32§k: i32§alpha: f32§beta: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for GemmShape
impl RefUnwindSafe for GemmShape
impl Send for GemmShape
impl Sync for GemmShape
impl Unpin for GemmShape
impl UnsafeUnpin for GemmShape
impl UnwindSafe for GemmShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more