#[repr(transparent)]pub struct CUtensorMapInterleave_enum(pub c_uint);Expand description
Tensor map interleave layout type.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUtensorMapInterleave_enum
impl CUtensorMapInterleave_enum
Sourcepub const CU_TENSOR_MAP_INTERLEAVE_NONE: CUtensorMapInterleave_enum
pub const CU_TENSOR_MAP_INTERLEAVE_NONE: CUtensorMapInterleave_enum
No channel interleaving.
Sourcepub const CU_TENSOR_MAP_INTERLEAVE_16B: CUtensorMapInterleave_enum
pub const CU_TENSOR_MAP_INTERLEAVE_16B: CUtensorMapInterleave_enum
Interleaves channels in 16-byte groups, such as eight 16-bit channels per group.
Sourcepub const CU_TENSOR_MAP_INTERLEAVE_32B: CUtensorMapInterleave_enum
pub const CU_TENSOR_MAP_INTERLEAVE_32B: CUtensorMapInterleave_enum
Interleaves channels in 32-byte groups, such as sixteen 16-bit channels per group.
Trait Implementations§
Source§impl Clone for CUtensorMapInterleave_enum
impl Clone for CUtensorMapInterleave_enum
impl Copy for CUtensorMapInterleave_enum
Source§impl Debug for CUtensorMapInterleave_enum
impl Debug for CUtensorMapInterleave_enum
impl Eq for CUtensorMapInterleave_enum
Source§impl Hash for CUtensorMapInterleave_enum
impl Hash for CUtensorMapInterleave_enum
Source§impl Ord for CUtensorMapInterleave_enum
impl Ord for CUtensorMapInterleave_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 CUtensorMapInterleave_enum
impl PartialOrd for CUtensorMapInterleave_enum
impl StructuralPartialEq for CUtensorMapInterleave_enum
Auto Trait Implementations§
impl Forget for CUtensorMapInterleave_enum
impl Freeze for CUtensorMapInterleave_enum
impl Move for CUtensorMapInterleave_enum
impl RefUnwindSafe for CUtensorMapInterleave_enum
impl Send for CUtensorMapInterleave_enum
impl Sync for CUtensorMapInterleave_enum
impl Unpin for CUtensorMapInterleave_enum
impl UnsafeUnpin for CUtensorMapInterleave_enum
impl UnwindSafe for CUtensorMapInterleave_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