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 module
matmul_8x8
8x8 simdgroup_matrix GEMM kernel for Apple Silicon GPUs (M1-M4).
comptime values
FRAG8
comptime FRAG8 = 2
MMA8_DIM
comptime MMA8_DIM = 8
Functions
-
enqueue_apple_matmul_8x8: Launches the 8x8 GEMM with a block chosen for the output shape. Requiresk % 16 == 0. Withhas_compute_fn,compute_fnmaps each output before it is stored; withhas_epilogue_fn,epilogue_fnstores it in place ofc. -
gemm_kernel_apple_8x8: Launchable wrapper for the 8x8 simdgroup-matrix GEMM (bench/test).