Skip to main content

Mojo function

gemv_kernel

gemv_kernel[c_type: DType, a_type: DType, b_type: DType, *, reduction_method: ReductionMethod, transpose_b: Bool = False, elementwise_lambda_fn: OptionalReg[fn[DType, Int, Int](IndexList[2], SIMD[$0, $1]) capturing -> None] = OptionalReg[fn[DType, Int, Int](IndexList[2], SIMD[$0, $1]) capturing -> None]({:i1 0, 1}), s_type: DType = get_accum_type[c_type]()](c: UnsafePointer[Scalar[c_type]], a: UnsafePointer[Scalar[a_type]], b: UnsafePointer[Scalar[b_type]], m: Int, n: Int, k: Int)

Was this page helpful?