Skip to main content

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

comptime members

INTERLEAVE_16B

comptime INTERLEAVE_16B = TensorMapInterleave(SIMD(1))

16-byte interleaving.

INTERLEAVE_32B

comptime INTERLEAVE_32B = TensorMapInterleave(SIMD(2))

32-byte interleaving.

INTERLEAVE_NONE

comptime INTERLEAVE_NONE = TensorMapInterleave(SIMD(0))

No interleaving.

Was this page helpful?