Skip to content

Commit b720e47

Browse files
committed
fix compiling error
1 parent ce1167d commit b720e47

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ggml/src/ggml-qnn/qnn/backend-ops.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ constexpr const bool kQnnSupportedOps[] = {
113113
false, // GGML_OP_CONV_TRANSPOSE_1D
114114
false, // GGML_OP_IM2COL
115115
false, // GGML_OP_IM2COL_BACK
116+
false, // GGML_OP_CONV_2D
116117
false, // GGML_OP_CONV_2D_DW
117118
false, // GGML_OP_CONV_TRANSPOSE_2D
118119
false, // GGML_OP_POOL_1D

ggml/src/ggml-qnn/qnn/op-config-caps.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ constexpr const qnn_op_caps_t kOpCaps[] = {
158158
{}, // GGML_OP_CONV_TRANSPOSE_1D
159159
{}, // GGML_OP_IM2COL
160160
{}, // GGML_OP_IM2COL_BACK
161+
{}, // GGML_OP_CONV_2D
161162
{}, // GGML_OP_CONV_2D_DW
162163
{}, // GGML_OP_CONV_TRANSPOSE_2D
163164
{}, // GGML_OP_POOL_1D
@@ -335,6 +336,7 @@ constexpr const op_constructor_t kOpConstructors[] = {
335336
nullptr, // GGML_OP_CONV_TRANSPOSE_1D
336337
nullptr, // GGML_OP_IM2COL
337338
nullptr, // GGML_OP_IM2COL_BACK
339+
nullptr, // GGML_OP_CONV_2D
338340
nullptr, // GGML_OP_CONV_2D_DW
339341
nullptr, // GGML_OP_CONV_TRANSPOSE_2D
340342
nullptr, // GGML_OP_POOL_1D
@@ -389,7 +391,7 @@ constexpr const op_constructor_t kOpConstructors[] = {
389391
nullptr, // GGML_UNARY_OP_HARDSWISH
390392
nullptr, // GGML_UNARY_OP_HARDSIGMOID
391393
nullptr, // GGML_UNARY_OP_EXP
392-
nullptr, // GGML_UNARY_OP_GELU_ERF
394+
nullptr, // GGML_UNARY_OP_GELU_ERF
393395
};
394396

395397
static_assert(kOpConstructors[GGML_OP_NONE] == nullptr, "GGML_OP_NONE does not match the nullptr function");

0 commit comments

Comments
 (0)