From 8240376556ca0acc7d5a94bb4ee1acbd2e1aa46e Mon Sep 17 00:00:00 2001 From: "zhou.weiguo" Date: Fri, 26 Apr 2024 10:56:20 +0800 Subject: [PATCH] refine function ggml_backend_qnn_supports_op --- ggml-qnn.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml-qnn.cpp b/ggml-qnn.cpp index 812535876ac47b..53838030ad102f 100644 --- a/ggml-qnn.cpp +++ b/ggml-qnn.cpp @@ -3999,6 +3999,8 @@ static bool ggml_backend_qnn_supports_op(ggml_backend_t backend, const ggml_tens switch (op->op) { case GGML_OP_MUL_MAT: + case GGML_OP_MUL: + case GGML_OP_ADD: return true; default: return false;