fix compiling error after merge
This commit is contained in:
parent
2ef0904fde
commit
1da8a3e678
|
|
@ -180,6 +180,7 @@ static ggml_backend_buffer_i ggml_backend_qnn_buffer_interface = {
|
||||||
/* .free_buffer = */ ggml_backend_qnn_buffer_free_buffer,
|
/* .free_buffer = */ ggml_backend_qnn_buffer_free_buffer,
|
||||||
/* .get_base = */ ggml_backend_qnn_buffer_get_base,
|
/* .get_base = */ ggml_backend_qnn_buffer_get_base,
|
||||||
/* .init_tensor = */ ggml_backend_qnn_buffer_init_tensor,
|
/* .init_tensor = */ ggml_backend_qnn_buffer_init_tensor,
|
||||||
|
/* .memset_tensor = */ nullptr,
|
||||||
/* .set_tensor = */ ggml_backend_qnn_buffer_set_tensor,
|
/* .set_tensor = */ ggml_backend_qnn_buffer_set_tensor,
|
||||||
/* .get_tensor = */ ggml_backend_qnn_buffer_get_tensor,
|
/* .get_tensor = */ ggml_backend_qnn_buffer_get_tensor,
|
||||||
/* .cpy_tensor = */ ggml_backend_qnn_buffer_cpy_tensor,
|
/* .cpy_tensor = */ ggml_backend_qnn_buffer_cpy_tensor,
|
||||||
|
|
|
||||||
|
|
@ -231,6 +231,7 @@ constexpr const char *kGgmlOpToQnnOp[] = {
|
||||||
|
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
||||||
|
nullptr, // GGML_OP_OPT_STEP_ADAMW
|
||||||
|
|
||||||
// ggml_unary_op
|
// ggml_unary_op
|
||||||
nullptr, // GGML_UNARY_OP_ABS
|
nullptr, // GGML_UNARY_OP_ABS
|
||||||
|
|
@ -422,6 +423,7 @@ constexpr const ggml_qnn_unary_op_t kQnnUnaryOpsTable[] = {
|
||||||
|
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
||||||
|
nullptr, // GGML_OP_OPT_STEP_ADAMW
|
||||||
|
|
||||||
// ggml_unary_op
|
// ggml_unary_op
|
||||||
nullptr, // GGML_UNARY_OP_ABS
|
nullptr, // GGML_UNARY_OP_ABS
|
||||||
|
|
@ -531,6 +533,7 @@ static constexpr const ggml_qnn_binary_op_t kQnnBinaryOpsTable[] = {
|
||||||
|
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS
|
||||||
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
nullptr, // GGML_OP_CROSS_ENTROPY_LOSS_BACK
|
||||||
|
nullptr, // GGML_OP_OPT_STEP_ADAMW
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(kQnnBinaryOpsTable) / sizeof(kQnnBinaryOpsTable[0]) == GGML_OP_COUNT,
|
static_assert(sizeof(kQnnBinaryOpsTable) / sizeof(kQnnBinaryOpsTable[0]) == GGML_OP_COUNT,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue