Skip to content

Commit

Permalink
refine function ggml_backend_qnn_supports_op
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou.weiguo committed Apr 26, 2024
1 parent f20e281 commit 8240376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ggml-qnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8240376

Please sign in to comment.