File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,6 @@ ggml_add_backend_library(ggml-qnn
3737)
3838target_link_libraries (ggml-qnn PRIVATE ${COMMON_LINK_LIBRARIES} )
3939
40- if (GGML_QNN_ENABLE_PERFORMANCE_TRACKING)
41- message ("GGML_QNN_ENABLE_PERFORMANCE_TRACKING is enabled" )
42- target_compile_definitions (ggml-qnn PRIVATE GGML_QNN_ENABLE_PERFORMANCE_TRACKING)
43- else ()
44- message ("GGML_QNN_ENABLE_PERFORMANCE_TRACKING is disabled" )
45- endif ()
46-
4740add_subdirectory (shared)
4841
4942if (GGML_HEXAGON_NPU_ONLY)
Original file line number Diff line number Diff line change @@ -26,6 +26,13 @@ else()
2626 message ("GGML_QNN_ENABLE_CPU_BACKEND is disabled" )
2727endif ()
2828
29+ if (GGML_QNN_ENABLE_PERFORMANCE_TRACKING)
30+ message ("GGML_QNN_ENABLE_PERFORMANCE_TRACKING is enabled" )
31+ target_compile_definitions (qnn-backend PUBLIC GGML_QNN_ENABLE_PERFORMANCE_TRACKING)
32+ else ()
33+ message ("GGML_QNN_ENABLE_PERFORMANCE_TRACKING is disabled" )
34+ endif ()
35+
2936if (CMAKE_SYSTEM_NAME STREQUAL "Android" )
3037 set (QNN_DEFAULT_LIB_SEARCH_PATH "/data/local/tmp/" CACHE STRING "customized library search path for QNN backend" )
3138elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "Linux" )
You can’t perform that action at this time.
0 commit comments