diff --git a/ggml/src/ggml-qnn/qnn/backend-ops.cpp b/ggml/src/ggml-qnn/qnn/backend-ops.cpp index 669e5bd854..f3e06cf09e 100644 --- a/ggml/src/ggml-qnn/qnn/backend-ops.cpp +++ b/ggml/src/ggml-qnn/qnn/backend-ops.cpp @@ -113,6 +113,7 @@ constexpr const bool kQnnSupportedOps[] = { false, // GGML_OP_CONV_TRANSPOSE_1D false, // GGML_OP_IM2COL false, // GGML_OP_IM2COL_BACK + false, // GGML_OP_CONV_2D false, // GGML_OP_CONV_2D_DW false, // GGML_OP_CONV_TRANSPOSE_2D false, // GGML_OP_POOL_1D diff --git a/ggml/src/ggml-qnn/qnn/op-config-caps.cpp b/ggml/src/ggml-qnn/qnn/op-config-caps.cpp index 9a5abef8e9..95c4067655 100644 --- a/ggml/src/ggml-qnn/qnn/op-config-caps.cpp +++ b/ggml/src/ggml-qnn/qnn/op-config-caps.cpp @@ -158,6 +158,7 @@ constexpr const qnn_op_caps_t kOpCaps[] = { {}, // GGML_OP_CONV_TRANSPOSE_1D {}, // GGML_OP_IM2COL {}, // GGML_OP_IM2COL_BACK + {}, // GGML_OP_CONV_2D {}, // GGML_OP_CONV_2D_DW {}, // GGML_OP_CONV_TRANSPOSE_2D {}, // GGML_OP_POOL_1D @@ -335,6 +336,7 @@ constexpr const op_constructor_t kOpConstructors[] = { nullptr, // GGML_OP_CONV_TRANSPOSE_1D nullptr, // GGML_OP_IM2COL nullptr, // GGML_OP_IM2COL_BACK + nullptr, // GGML_OP_CONV_2D nullptr, // GGML_OP_CONV_2D_DW nullptr, // GGML_OP_CONV_TRANSPOSE_2D nullptr, // GGML_OP_POOL_1D @@ -389,7 +391,7 @@ constexpr const op_constructor_t kOpConstructors[] = { nullptr, // GGML_UNARY_OP_HARDSWISH nullptr, // GGML_UNARY_OP_HARDSIGMOID nullptr, // GGML_UNARY_OP_EXP - nullptr, // GGML_UNARY_OP_GELU_ERF + nullptr, // GGML_UNARY_OP_GELU_ERF }; static_assert(kOpConstructors[GGML_OP_NONE] == nullptr, "GGML_OP_NONE does not match the nullptr function");