aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ggml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ggml.c b/ggml.c
index a26b485..546da30 100644
--- a/ggml.c
+++ b/ggml.c
@@ -6435,7 +6435,7 @@ static void ggml_compute_forward_mul_mat_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10,
1.0f, y, ne10,
- x, ne10,
+ x, ne00,
0.0f, d, ne01);
}
}
@@ -6607,7 +6607,7 @@ static void ggml_compute_forward_mul_mat_f16_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10,
1.0f, y, ne10,
- x, ne10,
+ x, ne00,
0.0f, d, ne01);
}
}
@@ -6820,7 +6820,7 @@ static void ggml_compute_forward_mul_mat_q_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10,
1.0f, y, ne10,
- x, ne10,
+ x, ne00,
0.0f, d, ne01);
}
}