#[repr(transparent)]pub struct CUtensorMapL2promotion_enum(pub c_uint);Expand description
Tensor map L2 promotion type
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUtensorMapL2promotion_enum
impl CUtensorMapL2promotion_enum
Sourcepub const CU_TENSOR_MAP_L2_PROMOTION_NONE: CUtensorMapL2promotion_enum
pub const CU_TENSOR_MAP_L2_PROMOTION_NONE: CUtensorMapL2promotion_enum
No L2 fetch-size promotion.
Sourcepub const CU_TENSOR_MAP_L2_PROMOTION_L2_64B: CUtensorMapL2promotion_enum
pub const CU_TENSOR_MAP_L2_PROMOTION_L2_64B: CUtensorMapL2promotion_enum
Fills L2 requests from DRAM at 64-byte granularity.
Sourcepub const CU_TENSOR_MAP_L2_PROMOTION_L2_128B: CUtensorMapL2promotion_enum
pub const CU_TENSOR_MAP_L2_PROMOTION_L2_128B: CUtensorMapL2promotion_enum
Fills L2 requests from DRAM at 128-byte granularity.
Sourcepub const CU_TENSOR_MAP_L2_PROMOTION_L2_256B: CUtensorMapL2promotion_enum
pub const CU_TENSOR_MAP_L2_PROMOTION_L2_256B: CUtensorMapL2promotion_enum
Fills L2 requests from DRAM at 256-byte granularity.
Trait Implementations§
Source§impl Clone for CUtensorMapL2promotion_enum
impl Clone for CUtensorMapL2promotion_enum
impl Copy for CUtensorMapL2promotion_enum
Source§impl Debug for CUtensorMapL2promotion_enum
impl Debug for CUtensorMapL2promotion_enum
impl Eq for CUtensorMapL2promotion_enum
Source§impl Hash for CUtensorMapL2promotion_enum
impl Hash for CUtensorMapL2promotion_enum
Source§impl Ord for CUtensorMapL2promotion_enum
impl Ord for CUtensorMapL2promotion_enum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUtensorMapL2promotion_enum
impl PartialOrd for CUtensorMapL2promotion_enum
impl StructuralPartialEq for CUtensorMapL2promotion_enum
Auto Trait Implementations§
impl Forget for CUtensorMapL2promotion_enum
impl Freeze for CUtensorMapL2promotion_enum
impl Move for CUtensorMapL2promotion_enum
impl RefUnwindSafe for CUtensorMapL2promotion_enum
impl Send for CUtensorMapL2promotion_enum
impl Sync for CUtensorMapL2promotion_enum
impl Unpin for CUtensorMapL2promotion_enum
impl UnsafeUnpin 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