#[non_exhaustive]#[repr(u32)]pub enum CUtensorMapL2promotion_enum {
CU_TENSOR_MAP_L2_PROMOTION_NONE = 0,
CU_TENSOR_MAP_L2_PROMOTION_L2_64B = 1,
CU_TENSOR_MAP_L2_PROMOTION_L2_128B = 2,
CU_TENSOR_MAP_L2_PROMOTION_L2_256B = 3,
}Expand description
Tensor map L2 promotion type
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.
CU_TENSOR_MAP_L2_PROMOTION_NONE = 0
CU_TENSOR_MAP_L2_PROMOTION_L2_64B = 1
CU_TENSOR_MAP_L2_PROMOTION_L2_128B = 2
CU_TENSOR_MAP_L2_PROMOTION_L2_256B = 3
Trait Implementations§
source§impl Clone for CUtensorMapL2promotion_enum
impl Clone for CUtensorMapL2promotion_enum
source§fn clone(&self) -> CUtensorMapL2promotion_enum
fn clone(&self) -> CUtensorMapL2promotion_enum
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 Debug for CUtensorMapL2promotion_enum
impl Debug for CUtensorMapL2promotion_enum
source§impl Hash for CUtensorMapL2promotion_enum
impl Hash for CUtensorMapL2promotion_enum
source§impl PartialEq for CUtensorMapL2promotion_enum
impl PartialEq for CUtensorMapL2promotion_enum
source§fn eq(&self, other: &CUtensorMapL2promotion_enum) -> bool
fn eq(&self, other: &CUtensorMapL2promotion_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CUtensorMapL2promotion_enum
impl Eq for CUtensorMapL2promotion_enum
impl StructuralPartialEq for CUtensorMapL2promotion_enum
Auto Trait Implementations§
impl RefUnwindSafe for CUtensorMapL2promotion_enum
impl Send for CUtensorMapL2promotion_enum
impl Sync for CUtensorMapL2promotion_enum
impl Unpin for CUtensorMapL2promotion_enum
impl UnwindSafe for CUtensorMapL2promotion_enum
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