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 function

gemm_kernel_apple_8x8

def gemm_kernel_apple_8x8[c_type: DType, a_type: DType, b_type: DType, c_layout: TensorLayout, a_layout: TensorLayout, b_layout: TensorLayout, transpose_b: Bool = False, elementwise_lambda_fn: Optional[def[dtype: DType, width: SIMDSize, *, alignment: Int = Int(1)](IndexList[Int(2)], SIMD[dtype, width]) capturing -> None] = None, s_type: DType = get_accum_type[c_type](), BLOCK_M: Int = Int(64), BLOCK_N: Int = Int(64), BLOCK_K: Int = Int(16), NUM_SIMDGROUPS: Int = Int(4)](c: TileTensor[c_type, c_layout, MutAnyOrigin], a: TileTensor[a_type, a_layout, ImmutAnyOrigin], b: TileTensor[b_type, b_layout, ImmutAnyOrigin], m: Int, n: Int, k: Int)

Launchable wrapper for the 8x8 simdgroup-matrix GEMM (bench/test).