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 function
matmul_kernel_naive
def matmul_kernel_naive[c_type: DType, a_type: DType, b_type: DType, c_layout_type: TensorLayout, a_layout_type: TensorLayout, b_layout_type: TensorLayout, BLOCK_DIM: Int, transpose_b: Bool = False, elementwise_lambda_fn: Optional[def[dtype: DType, width: SIMDLength, *, alignment: Int = Int(1)](IndexList[Int(2)], SIMD[dtype, width]) capturing thin -> None] = None, s_type: DType = get_accum_type[c_type](), c_storage: TensorStorage = PointerStorage, a_storage: TensorStorage = PointerStorage, b_storage: TensorStorage = PointerStorage](c: TileTensor[c_type, c_layout_type, MutAnyOrigin, Storage=c_storage], a: TileTensor[a_type, a_layout_type, ImmutAnyOrigin, Storage=a_storage], b: TileTensor[b_type, b_layout_type, ImmutAnyOrigin, Storage=b_storage], m: Int32, n: Int32, k: Int32)