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
TensorMapL2Promotion
struct TensorMapL2Promotion
L2 cache promotion hint for TMA tensor map descriptors.
Specifies how much data to promote into the L2 cache during TMA operations. Promoting data to L2 can improve performance when the same data will be accessed multiple times.
Implemented traitsβ
AnyType,
Copyable,
Deinitable,
ImplicitlyCopyable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
L2_128Bβ
comptime L2_128B = TensorMapL2Promotion(Int32(2))
Promote 128 bytes to L2 cache.
L2_256Bβ
comptime L2_256B = TensorMapL2Promotion(Int32(3))
Promote 256 bytes to L2 cache.
L2_64Bβ
comptime L2_64B = TensorMapL2Promotion(Int32(1))
Promote 64 bytes to L2 cache.
NONEβ
comptime NONE = TensorMapL2Promotion(Int32(0))
No L2 promotion.