File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,21 @@ USE_FULL_TFLITE=1
9494TARGET_LINUX_AARCH64 =1
9595endif
9696
97+ ifeq (${USE_QUALCOMM_QNN},1)
98+ ifndef QNN_SDK_ROOT
99+ $(error QNN_SDK_ROOT is not set, install QNN Engine Direct and set it to the installation directory)
100+ endif
101+ USE_FULL_TFLITE =1
102+ CFLAGS += -I${QNN_SDK_ROOT}/include
103+ CFLAGS += -Iedge-impulse-sdk
104+ CFLAGS += -DEI_CLASSIFIER_USE_QNN_DELEGATES
105+ ifeq (${TARGET_LINUX_AARCH64},1)
106+ LDFLAGS += -L${QNN_SDK_ROOT}/lib/aarch64-ubuntu-gcc9.4 -lQnnTFLiteDelegate
107+ else ifeq (${TARGET_LINUX_X86},1)
108+ LDFLAGS += -L${QNN_SDK_ROOT}/lib/x86_64-linux-clang -lQnnTFLiteDelegate
109+ endif
110+ endif
111+
97112ifeq (${USE_ETHOS},1)
98113CFLAGS += -DEI_ETHOS_LINUX
99114CFLAGS += -Iedge-impulse-sdk/third_party/ethos_kernel_driver/include/
You can’t perform that action at this time.
0 commit comments