Struct cudarc::cublas::safe::GemmConfig
source · pub struct GemmConfig<T> {
pub transa: cublasOperation_t,
pub transb: cublasOperation_t,
pub m: c_int,
pub n: c_int,
pub k: c_int,
pub alpha: T,
pub lda: c_int,
pub ldb: c_int,
pub beta: T,
pub ldc: c_int,
}
Expand description
Configuration for Gemm
Fields§
§transa: cublasOperation_t
§transb: cublasOperation_t
§m: c_int
§n: c_int
§k: c_int
§alpha: T
§lda: c_int
§ldb: c_int
§beta: T
§ldc: c_int
Trait Implementations§
source§impl<T: Clone> Clone for GemmConfig<T>
impl<T: Clone> Clone for GemmConfig<T>
source§fn clone(&self) -> GemmConfig<T>
fn clone(&self) -> GemmConfig<T>
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 moresource§impl<T: Debug> Debug for GemmConfig<T>
impl<T: Debug> Debug for GemmConfig<T>
impl<T: Copy> Copy for GemmConfig<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for GemmConfig<T>where T: RefUnwindSafe,
impl<T> Send for GemmConfig<T>where T: Send,
impl<T> Sync for GemmConfig<T>where T: Sync,
impl<T> Unpin for GemmConfig<T>where T: Unpin,
impl<T> UnwindSafe for GemmConfig<T>where T: 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