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
alias __copyinit__is_trivial = True
__del__is_trivial
alias __del__is_trivial = True
__moveinit__is_trivial
alias __moveinit__is_trivial = True
INTERLEAVE_16B
alias INTERLEAVE_16B = TensorMapInterleave(1)
16-byte interleaving.
INTERLEAVE_32B
alias INTERLEAVE_32B = TensorMapInterleave(2)
32-byte interleaving.
INTERLEAVE_NONE
alias 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!