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 package
extensibility
Surface needed to write GraphCompiler kernel entry points.
Provides the @register / @register_internal decorators, the
ManagedTensorSlice type and supporting tensor specs/IO enums, plus the
elementwise operation traits.
For registering custom operations, use the Mojo @extensibility.register decorator instead.
Modules
-
decorators: Decorators for registering MAX Graph kernels. -
managed_tensor_slice: ManagedTensorSlice and the types kernel authors compose against. -
operation_traits: Elementwise operation traits for MAX Graph kernel implementations. -
stable_addr_engine: Defines the tensor engine backed by a device graph stable address slot. -
stable_tensor: ProvidesStableTensor, a tensor view over a stable address slot, andStableVariadicTensors, the variadic pack of such views. -
tensor_arg_traits: Composable traits for graph-compiler kernel tensor arguments. -
tensor_tuple: A tuple of tensor arguments, for kernels with variadic tensor arguments. -
tile_tensor_adapters: Helpers for projecting dense tensor arguments toTileTensorviews.