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

Mojo struct

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, Deinitable, ImplicitlyCopyable, 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.