IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo struct

NullTileOperation

struct NullTileOperation

No-op TileOperation sentinel: parallel to NullTileConsumer. Used as the default TileOperationType so kernels without a fused op compile without callers having to spell out a placeholder.

Implemented traits​

AnyType, Copyable, DevicePassable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, RegisterPassable, TileOperation, TrivialRegisterPassable

comptime members​

device_type​

comptime device_type = NullTileOperation

src_address_space​

comptime src_address_space = AddressSpace.LOCAL

Methods​

__init__​

def __init__() -> Self

__call__​

def __call__[dtype: DType, LayoutType: TensorLayout](mut self, tile_coord: Coord, tile: TileTensor[dtype, LayoutType, MutAnyOrigin, Storage=tile.Storage, address_space=Self.src_address_space, linear_idx_type=tile.linear_idx_type], thread_layout: Layout) -> TileTensor[dtype, LayoutType, MutAnyOrigin, Storage=tile.Storage, address_space=Self.src_address_space, linear_idx_type=tile.linear_idx_type]

Returns:

TileTensor[dtype, LayoutType, MutAnyOrigin, Storage=tile.Storage, address_space=Self.src_address_space, linear_idx_type=tile.linear_idx_type]

Was this page helpful?