Struct kn_cuda_sys::wrapper::group::BatchedMatMulArgs
source · pub struct BatchedMatMulArgs<P = DevicePtr> {
pub m: i32,
pub n: i32,
pub k: i32,
pub alpha: f32,
pub beta: f32,
pub a: MatMulOperand<P>,
pub b: MatMulOperand<P>,
pub c: MatMulOperand<P>,
pub batch_count: i32,
}Fields§
§m: i32§n: i32§k: i32§alpha: f32§beta: f32§a: MatMulOperand<P>§b: MatMulOperand<P>§c: MatMulOperand<P>§batch_count: i32Implementations§
source§impl BatchedMatMulArgs
impl BatchedMatMulArgs
sourcepub unsafe fn run(&self, handle: &CublasHandle)
pub unsafe fn run(&self, handle: &CublasHandle)
Call cublasSgemmStridedBatched with the right arguments. If batch_count == 1, call cublasSgemm_v2 instead.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for BatchedMatMulArgs<P>where
P: Freeze,
impl<P> RefUnwindSafe for BatchedMatMulArgs<P>where
P: RefUnwindSafe,
impl<P> Send for BatchedMatMulArgs<P>where
P: Send,
impl<P> Sync for BatchedMatMulArgs<P>where
P: Sync,
impl<P> Unpin for BatchedMatMulArgs<P>where
P: Unpin,
impl<P> UnwindSafe for BatchedMatMulArgs<P>where
P: UnwindSafe,
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