fix compiling error after merged
This commit is contained in:
parent
c410717015
commit
5f93376f67
|
|
@ -314,7 +314,8 @@ constexpr const ggml_qnn_op_t kQnnOpsTable[] = {
|
|||
nullptr, // GGML_OP_WIN_UNPART
|
||||
nullptr, // GGML_OP_GET_REL_POS
|
||||
nullptr, // GGML_OP_ADD_REL_POS
|
||||
nullptr, // GGML_OP_RWKV_WKV
|
||||
nullptr, // GGML_OP_RWKV_WKV6
|
||||
nullptr, // GGML_OP_GATED_LINEAR_ATTN
|
||||
|
||||
nullptr, // GGML_OP_UNARY
|
||||
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ constexpr const qnn_op_caps_t kOpCaps[] = {
|
|||
{}, // GGML_OP_GET_REL_POS
|
||||
{}, // GGML_OP_ADD_REL_POS
|
||||
{}, // GGML_OP_RWKV_WKV6
|
||||
{}, // GGML_OP_GATED_LINEAR_ATTN
|
||||
|
||||
{}, // GGML_OP_UNARY
|
||||
|
||||
|
|
|
|||
|
|
@ -11848,10 +11848,6 @@ struct llama_sampler_chain_params llama_sampler_chain_default_params() {
|
|||
size_t llama_max_devices(void) {
|
||||
return 16;
|
||||
}
|
||||
#if defined(GGML_USE_QNN)
|
||||
return GGML_QNN_MAX_DEVICES;
|
||||
#else
|
||||
#endif
|
||||
|
||||
bool llama_supports_mmap(void) {
|
||||
return llama_mmap::SUPPORTED;
|
||||
|
|
|
|||
Loading…
Reference in New Issue