Skip to main content

Mojo module

tile_tensor

TileTensor type for structured memory access with compile-time layout information.

comptime values

LTToTTLayout

comptime LTToTTLayout[lt_layout: Layout] = Layout[*?, *?]

Derive a TileTensor Layout from a legacy Layout.

Known dimensions become ComptimeInt, UNKNOWN_VALUE dimensions become RuntimeInt. Hierarchical layouts (e.g. from tile_to_shape) are collapsed via product_each so each mode becomes a single value.

Parameters

  • lt_layout (Layout): The legacy Layout to convert.

Structs

  • NullableTileTensor: A TileTensor variant whose pointer may be absent (null).
  • TileTensor: A tensor type with trait-based layouts supporting nested and hierarchical indexing.

Functions

Was this page helpful?