Struct kn_cuda_sys::wrapper::group::MatMulOperand
source · pub struct MatMulOperand<P = DevicePtr> {
pub ptr: P,
pub trans: cublasOperation_t,
pub ld: i32,
pub stride: i64,
}Fields§
§ptr: P§trans: cublasOperation_t§ld: i32§stride: i64Implementations§
source§impl<P> MatMulOperand<P>
impl<P> MatMulOperand<P>
pub fn map_ptr<K>(self, f: impl FnMut(P) -> K) -> MatMulOperand<K>
Trait Implementations§
source§impl<P: Clone> Clone for MatMulOperand<P>
impl<P: Clone> Clone for MatMulOperand<P>
source§fn clone(&self) -> MatMulOperand<P>
fn clone(&self) -> MatMulOperand<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<P> RefUnwindSafe for MatMulOperand<P>where
P: RefUnwindSafe,
impl<P> Send for MatMulOperand<P>where
P: Send,
impl<P> Sync for MatMulOperand<P>where
P: Sync,
impl<P> Unpin for MatMulOperand<P>where
P: Unpin,
impl<P> UnwindSafe for MatMulOperand<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