#[non_exhaustive]#[repr(u32)]pub enum cublasLtMatrixTransformDescAttributes_t {
CUBLASLT_MATRIX_TRANSFORM_DESC_SCALE_TYPE = 0,
CUBLASLT_MATRIX_TRANSFORM_DESC_POINTER_MODE = 1,
CUBLASLT_MATRIX_TRANSFORM_DESC_TRANSA = 2,
CUBLASLT_MATRIX_TRANSFORM_DESC_TRANSB = 3,
}Expand description
Matrix transform descriptor attributes to define details of the operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CUBLASLT_MATRIX_TRANSFORM_DESC_SCALE_TYPE = 0
Scale type, see cudaDataType. Inputs are converted to scale type for scaling and summation and results are then converted to output type to store in memory.
int32_t
CUBLASLT_MATRIX_TRANSFORM_DESC_POINTER_MODE = 1
Pointer mode of alpha and beta, see cublasLtPointerMode_t.
int32_t, default: CUBLASLT_POINTER_MODE_HOST
CUBLASLT_MATRIX_TRANSFORM_DESC_TRANSA = 2
Transform of matrix A, see cublasOperation_t.
int32_t, default: CUBLAS_OP_N
CUBLASLT_MATRIX_TRANSFORM_DESC_TRANSB = 3
Transform of matrix B, see cublasOperation_t.
int32_t, default: CUBLAS_OP_N
Trait Implementations§
source§impl Clone for cublasLtMatrixTransformDescAttributes_t
impl Clone for cublasLtMatrixTransformDescAttributes_t
source§fn clone(&self) -> cublasLtMatrixTransformDescAttributes_t
fn clone(&self) -> cublasLtMatrixTransformDescAttributes_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 PartialEq for cublasLtMatrixTransformDescAttributes_t
impl PartialEq for cublasLtMatrixTransformDescAttributes_t
source§fn eq(&self, other: &cublasLtMatrixTransformDescAttributes_t) -> bool
fn eq(&self, other: &cublasLtMatrixTransformDescAttributes_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for cublasLtMatrixTransformDescAttributes_t
impl Eq for cublasLtMatrixTransformDescAttributes_t
impl StructuralPartialEq for cublasLtMatrixTransformDescAttributes_t
Auto Trait Implementations§
impl RefUnwindSafe for cublasLtMatrixTransformDescAttributes_t
impl Send for cublasLtMatrixTransformDescAttributes_t
impl Sync for cublasLtMatrixTransformDescAttributes_t
impl Unpin for cublasLtMatrixTransformDescAttributes_t
impl UnwindSafe for cublasLtMatrixTransformDescAttributes_t
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