#[repr(transparent)]pub struct CUtensorMapSwizzle_enum(pub c_uint);Expand description
Tensor map swizzling mode of shared memory banks.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUtensorMapSwizzle_enum
impl CUtensorMapSwizzle_enum
Sourcepub const CU_TENSOR_MAP_SWIZZLE_NONE: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_NONE: CUtensorMapSwizzle_enum
No shared-memory swizzling.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_32B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_32B: CUtensorMapSwizzle_enum
Swizzles 16-byte chunks within a 32-byte span.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_64B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_64B: CUtensorMapSwizzle_enum
Swizzles 16-byte chunks within a 64-byte span.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_128B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_128B: CUtensorMapSwizzle_enum
Swizzles 16-byte chunks within a 128-byte span.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B: CUtensorMapSwizzle_enum
Swizzles 32-byte chunks within a 128-byte span.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B_FLIP_8B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B_FLIP_8B: CUtensorMapSwizzle_enum
Swizzles 32-byte chunks within a 128-byte span and exchanges the lower and upper eight bytes of each 16-byte unit on alternate rows.
Sourcepub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_64B: CUtensorMapSwizzle_enum
pub const CU_TENSOR_MAP_SWIZZLE_128B_ATOM_64B: CUtensorMapSwizzle_enum
Swizzles 64-byte chunks within a 128-byte span.
Trait Implementations§
Source§impl Clone for CUtensorMapSwizzle_enum
impl Clone for CUtensorMapSwizzle_enum
impl Copy for CUtensorMapSwizzle_enum
Source§impl Debug for CUtensorMapSwizzle_enum
impl Debug for CUtensorMapSwizzle_enum
impl Eq for CUtensorMapSwizzle_enum
Source§impl Hash for CUtensorMapSwizzle_enum
impl Hash for CUtensorMapSwizzle_enum
Source§impl Ord for CUtensorMapSwizzle_enum
impl Ord for CUtensorMapSwizzle_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 PartialEq for CUtensorMapSwizzle_enum
impl PartialEq for CUtensorMapSwizzle_enum
Source§impl PartialOrd for CUtensorMapSwizzle_enum
impl PartialOrd for CUtensorMapSwizzle_enum
impl StructuralPartialEq for CUtensorMapSwizzle_enum
Auto Trait Implementations§
impl Forget for CUtensorMapSwizzle_enum
impl Freeze for CUtensorMapSwizzle_enum
impl Move for CUtensorMapSwizzle_enum
impl RefUnwindSafe for CUtensorMapSwizzle_enum
impl Send for CUtensorMapSwizzle_enum
impl Sync for CUtensorMapSwizzle_enum
impl Unpin for CUtensorMapSwizzle_enum
impl UnsafeUnpin for CUtensorMapSwizzle_enum
impl UnwindSafe for CUtensorMapSwizzle_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