Mojo struct
TensorMapInterleave
@register_passable(trivial)
struct TensorMapInterleave
Interleave mode for TMA tensor map descriptors.
Specifies how data elements are interleaved in memory for TMA operations. Interleaving can improve memory access patterns for certain workloads.
Implemented traits
AnyType,
Copyable,
ImplicitlyCopyable,
Movable,
UnknownDestructibility
Aliases
__copyinit__is_trivial
comptime __copyinit__is_trivial = True
__del__is_trivial
comptime __del__is_trivial = True
__moveinit__is_trivial
comptime __moveinit__is_trivial = True
INTERLEAVE_16B
comptime INTERLEAVE_16B = TensorMapInterleave(1)
16-byte interleaving.
INTERLEAVE_32B
comptime INTERLEAVE_32B = TensorMapInterleave(2)
32-byte interleaving.
INTERLEAVE_NONE
comptime INTERLEAVE_NONE = TensorMapInterleave(0)
No interleaving.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!