Skip to content

Commit 158f244

Browse files
author
zhouwg
committed
ggml-qnn: remove redundant functions in this PR and make codes more clear
1 parent 23cc671 commit 158f244

File tree

3 files changed

+82
-315
lines changed

3 files changed

+82
-315
lines changed

ggml/include/ggml-qnn.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023-2024 The ggml authors
2+
* Copyright (c) 2023-2025 The ggml authors
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to
@@ -29,7 +29,7 @@ extern "C" {
2929
#endif
3030

3131
#define GGML_QNN_MAX_DEVICES 3
32-
#define GGML_QNN_BACKEND_NAME "qnn"
32+
#define GGML_QNN_BACKEND_NAME "hexagon"
3333

3434
enum QNNBackend {
3535
QNN_BACKEND_CPU,

ggml/src/ggml-qnn/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
3131
include_directories(${HEXAGON_SDK_PATH}/ipc/fastrpc/incs)
3232
include_directories(${HEXAGON_SDK_PATH}/ipc/fastrpc/rpcmem/inc)
3333
include_directories(${HEXAGON_SDK_PATH}/ipc/fastrpc/remote/ship/android_Debug_aarch64)
34-
include_directories(${HEXAGON_SDK_PATH}/incs/qnx)
35-
include_directories(${HEXAGON_SDK_PATH}/libs/common/qnx/ship/android_Debug_aarch64)
3634
include_directories(${HEXAGON_SDK_PATH}/utils/examples)
3735
include_directories(${HEXAGON_SDK_PATH}/ipc/fastrpc/rtld/ship/android_aarch64)
3836
include_directories(${HEXAGON_SDK_PATH}/libs/atomic/inc)

0 commit comments

Comments
 (0)