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 module
impl
Implements tiled CPU matrix multiplication kernels and their dispatcher.
Defines the InnerMatmulKernel trait and the TiledMatmul struct that drive
the outer M/N/K tile loops, plus the matmul entry point that selects an
inner microkernel (default, VNNI, NEON, or I8MM) or routes to Apple
Accelerate and GEMV fast paths.
Structsβ
- β
TiledMatmul: Tiled matmul implementation integrating packing, inner loop and tile partitions.
Traitsβ
- β
InnerMatmulKernel: Trait for CPU matmul microkernels operating on pre-packed tiles.
Functionsβ
- β
elementwise_epilogue_c_tile: Applies a vectorized epilogue function over a 2D C output tile. - β
matmul: TileTensor matmul dispatcher. Selects kernel type and delegates to_matmul_cpu_impl. - β
tiled_matmul_run: Interface function to run tiled matmul on a given sub-tile.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!