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

NullTileConsumer

struct NullTileConsumer

No-op TileConsumer. Used as the default when no fusion is requested, and as the placeholder type when a kernel's tile_consumer Optional is None.

Implemented traits​

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

comptime members​

device_type​

comptime device_type = NullTileConsumer

src_address_space​

comptime src_address_space = AddressSpace.LOCAL

Methods​

__init__​

def __init__() -> Self

__call__​

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

Was this page helpful?