summaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
authorbssrdf <merlintiger@hotmail.com>2023-12-29 03:32:31 -0500
committerGeorgi Gerganov <ggerganov@gmail.com>2023-12-29 14:54:19 +0200
commitafc8c192919f04613a92d40391bff4c8cd99856b (patch)
tree1959cf18947a06b21b9291ea415e690bdeb9fc67 /ggml.c
parentca38b8d334baa724bd6c9402470931d26427466f (diff)
ggml : fix some mul mat cases + add tests for src1 F16 (ggml/669)
* fixed mul-mat error for old GPUs * style fixes * add mul mat src1 f16 test cases, fix more cases ggml-ci --------- Co-authored-by: bssrdf <bssrdf@gmail.com> Co-authored-by: slaren <slarengh@gmail.com>
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index ed56e60a..a9e1ea9b 100644
--- a/ggml.c
+++ b/ggml.c
@@ -9687,7 +9687,7 @@ static void ggml_compute_forward_mul_mat(
const size_t row_size = ggml_row_size(vec_dot_type, ne10);
assert(params->wsize >= ne11*ne12*ne13*row_size);
- assert(src1->type == GGML_TYPE_F32);
+ GGML_ASSERT(src1->type == GGML_TYPE_F32);
for (int64_t i13 = 0; i13 < ne13; ++i13) {
for (int64_t i12 = 0; i12 < ne12; ++i12) {