Skip to content

Commit a645a7d

Browse files
committed
ggml-qnn: fix a minior issue during rebase to upstream
1 parent a622765 commit a645a7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ggml/src/ggml-qnn/ggml-qnn.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,8 +2244,7 @@ static bool ggml_qnn_can_handle_op(const ggml_backend_qnn_context * ctx, const s
22442244
}
22452245
if (ne00 < 32)
22462246
return false;
2247-
return (src0->type == GGML_TYPE_F32 || src0->type == GGML_TYPE_F16)
2248-
&& (src1->type == GGML_TYPE_F32 || src1->type == GGML_TYPE_F16);
2247+
return (src0->type == GGML_TYPE_F32) && (src1->type == GGML_TYPE_F32);
22492248
}
22502249

22512250
if (tensor->op == GGML_OP_MUL_MAT) {

0 commit comments

Comments
 (0)