IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

TensorMapInterleave

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, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members

INTERLEAVE_16B

comptime INTERLEAVE_16B = TensorMapInterleave(Int32(1))

16-byte interleaving.

INTERLEAVE_32B

comptime INTERLEAVE_32B = TensorMapInterleave(Int32(2))

32-byte interleaving.

INTERLEAVE_NONE

comptime INTERLEAVE_NONE = TensorMapInterleave(Int32(0))

No interleaving.