Skip to content

Commit c6cbec1

Browse files
committed
ggml-hexagon: add support for CONV_3D and OPT_STEP_SGD operations
1 parent 7b37ef1 commit c6cbec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-hexagon/ggml-hexagon.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ static constexpr const qnn_op_caps ggmlqnn_k_op_caps[] = {
648648
{false, GGML_OP_IM2COL, 0, nullptr},
649649
{false, GGML_OP_IM2COL_BACK, 0, nullptr},
650650
{false, GGML_OP_CONV_2D, 0, nullptr},
651+
{false, GGML_OP_CONV_3D, 0, nullptr},
651652
{false, GGML_OP_CONV_2D_DW, 0, nullptr},
652653
{false, GGML_OP_CONV_TRANSPOSE_2D, 0, nullptr},
653654
{false, GGML_OP_POOL_1D, 0, nullptr},
@@ -680,6 +681,7 @@ static constexpr const qnn_op_caps ggmlqnn_k_op_caps[] = {
680681
{false, GGML_OP_CROSS_ENTROPY_LOSS, 0, nullptr},
681682
{false, GGML_OP_CROSS_ENTROPY_LOSS_BACK, 0, nullptr},
682683
{false, GGML_OP_OPT_STEP_ADAMW, 0, nullptr},
684+
{false, GGML_OP_OPT_STEP_SGD, 0, nullptr},
683685
{false, GGML_OP_GLU, 0, nullptr},
684686
};
685687

@@ -746,6 +748,7 @@ static constexpr const hexagon_op_caps ggmlhexagon_k_op_caps[] = {
746748
{false, GGML_OP_IM2COL, 0, nullptr, nullptr},
747749
{false, GGML_OP_IM2COL_BACK, 0, nullptr, nullptr},
748750
{false, GGML_OP_CONV_2D, 0, nullptr, nullptr},
751+
{false, GGML_OP_CONV_3D, 0, nullptr, nullptr},
749752
{false, GGML_OP_CONV_2D_DW, 0, nullptr, nullptr},
750753
{false, GGML_OP_CONV_TRANSPOSE_2D, 0, nullptr, nullptr},
751754
{false, GGML_OP_POOL_1D, 0, nullptr, nullptr},
@@ -778,6 +781,7 @@ static constexpr const hexagon_op_caps ggmlhexagon_k_op_caps[] = {
778781
{false, GGML_OP_CROSS_ENTROPY_LOSS, 0, nullptr, nullptr},
779782
{false, GGML_OP_CROSS_ENTROPY_LOSS_BACK, 0, nullptr, nullptr},
780783
{false, GGML_OP_OPT_STEP_ADAMW, 0, nullptr, nullptr},
784+
{false, GGML_OP_OPT_STEP_SGD, 0, nullptr},
781785
{false, GGML_OP_GLU, 0, nullptr, nullptr},
782786
};
783787

0 commit comments

Comments
 (0)