summaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ggml.c b/ggml.c
index 4cd0d721..91552c94 100644
--- a/ggml.c
+++ b/ggml.c
@@ -8134,6 +8134,13 @@ static void ggml_compute_forward_mul_f32(
}
return;
}
+#elif defined(GGML_USE_CLBLAST)
+ if (src1->backend == GGML_BACKEND_CL) {
+ if (ith == 0) {
+ ggml_cl_mul(src0, src1, dst);
+ }
+ return;
+ }
#endif
const int64_t nr = ggml_nrows(src0);