From 5f83a12382dc4829e849f0cfcb8c7fab1a8d62dd Mon Sep 17 00:00:00 2001 From: Abhilash Majumder <30946547+abhilash1910@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:56:37 +0530 Subject: [PATCH] fix blas matmul function --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 67c791b27..1a261fb4b 100644 --- a/ggml.c +++ b/ggml.c @@ -9958,7 +9958,7 @@ static void ggml_compute_forward_mul_mat( #endif #if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_OPENBLAS) - if (ggml_compute_forward_mul_mat_use_blas(dst)) { + if (ggml_compute_forward_mul_mat_use_blas(src0, src1, dst)) { const int64_t ne_plane = ne01*ne00; const int64_t desired_wsize = ne13*ne12*ne_plane*sizeof(float); UNUSED(desired_wsize);