Mojo function
naive_batched_matmul_kernel
naive_batched_matmul_kernel[rank: Int, c_type: DType, a_type: DType, b_type: DType, c_layout: Layout, a_layout: Layout, b_layout: Layout, elementwise_lambda_fn: OptionalReg[fn[DType, Int, Int, Int](IndexList[$2], SIMD[$0, $1]) capturing -> None] = OptionalReg[fn[DType, Int, Int, Int](IndexList[$2], SIMD[$0, $1]) capturing -> None]({:i1 0, 1}), accum_type: DType = get_accum_type[::DType,::DType]()](c_tensor: LayoutTensor[c_type, c_layout, MutableAnyOrigin], a_tensor: LayoutTensor[a_type, a_layout, MutableAnyOrigin], b_tensor: LayoutTensor[b_type, b_layout, MutableAnyOrigin], c_buff_nd_shape: IndexList[rank])
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!