pub enum SwizzleMode {
None,
B32,
B64,
B128,
}Expand description
Swizzling mode of the shared memory. Default None.
Matches the base TMA functionality, alternative chunk sizes or more complex patterns don’t really
apply to matmul.
Variants§
None
No swizzling
B32
Swizzle 16B chunks within 32B span Swizzle<1,4,3>
B64
Swizzle 16B chunks within 64B span Swizzle<2,4,3>
B128
Swizzle 16B chunks within 128B span Swizzle<3,4,3>
Implementations§
Trait Implementations§
Source§impl Clone for SwizzleMode
impl Clone for SwizzleMode
Source§fn clone(&self) -> SwizzleMode
fn clone(&self) -> SwizzleMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwizzleMode
impl Debug for SwizzleMode
Source§impl Default for SwizzleMode
impl Default for SwizzleMode
Source§fn default() -> SwizzleMode
fn default() -> SwizzleMode
Returns the “default value” for a type. Read more
Source§impl From<SwizzleMode> for TensorMapSwizzle
impl From<SwizzleMode> for TensorMapSwizzle
Source§fn from(value: SwizzleMode) -> Self
fn from(value: SwizzleMode) -> Self
Converts to this type from the input type.
Source§impl Hash for SwizzleMode
impl Hash for SwizzleMode
Source§impl PartialEq for SwizzleMode
impl PartialEq for SwizzleMode
Source§fn eq(&self, other: &SwizzleMode) -> bool
fn eq(&self, other: &SwizzleMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SwizzleMode
impl Eq for SwizzleMode
impl StructuralPartialEq for SwizzleMode
Auto Trait Implementations§
impl Freeze for SwizzleMode
impl RefUnwindSafe for SwizzleMode
impl Send for SwizzleMode
impl Sync for SwizzleMode
impl Unpin for SwizzleMode
impl UnsafeUnpin for SwizzleMode
impl UnwindSafe for SwizzleMode
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
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.