diff options
Diffstat (limited to 'delegate/opaque')
-rw-r--r-- | delegate/opaque/CMakeLists.txt | 2 | ||||
-rw-r--r-- | delegate/opaque/include/armnn_delegate.hpp | 5 | ||||
-rw-r--r-- | delegate/opaque/src/test/ArmnnOpaqueDelegateTest.cpp | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/delegate/opaque/CMakeLists.txt b/delegate/opaque/CMakeLists.txt index 365e0166ba..abbf38d071 100644 --- a/delegate/opaque/CMakeLists.txt +++ b/delegate/opaque/CMakeLists.txt @@ -92,7 +92,7 @@ target_include_directories(flatbuffer_headers_opaque INTERFACE $<BUILD_INTERFACE:${Flatbuffers_INCLUDE_DIR}> $<INSTALL_INTERFACE:include/flatbuffer_headers_opaque>) -target_compile_options(flatbuffer_headers_opaque INTERFACE -Wno-sign-conversion) +target_compile_options(flatbuffer_headers_opaque INTERFACE -Wno-sign-conversion -Wno-sign-compare) target_link_libraries(armnnOpaqueDelegateObject PUBLIC flatbuffer_headers_opaque) diff --git a/delegate/opaque/include/armnn_delegate.hpp b/delegate/opaque/include/armnn_delegate.hpp index ff860c4b1c..474d5978c9 100644 --- a/delegate/opaque/include/armnn_delegate.hpp +++ b/delegate/opaque/include/armnn_delegate.hpp @@ -10,8 +10,9 @@ #include <tensorflow/core/public/version.h> #include <tensorflow/lite/c/c_api_opaque.h> -#include <tensorflow/lite/core/experimental/acceleration/configuration/c/stable_delegate.h> -#include <tensorflow/lite/experimental/acceleration/configuration/delegate_registry.h> + +#include <tensorflow/lite/acceleration/configuration/delegate_registry.h> +#include <tensorflow/lite/core/acceleration/configuration/c/stable_delegate.h> #if TF_MAJOR_VERSION > 2 || (TF_MAJOR_VERSION == 2 && TF_MINOR_VERSION > 5) #define ARMNN_POST_TFLITE_2_5 diff --git a/delegate/opaque/src/test/ArmnnOpaqueDelegateTest.cpp b/delegate/opaque/src/test/ArmnnOpaqueDelegateTest.cpp index 2669bc8480..9d255b1126 100644 --- a/delegate/opaque/src/test/ArmnnOpaqueDelegateTest.cpp +++ b/delegate/opaque/src/test/ArmnnOpaqueDelegateTest.cpp @@ -7,10 +7,6 @@ #include <doctest/doctest.h> #include <opaque/include/armnn_delegate.hpp> -#include <opaque/include/Version.hpp> - -#include <flatbuffers/flatbuffers.h> -#include <tensorflow/lite/experimental/acceleration/configuration/delegate_registry.h> namespace armnnOpaqueDelegate { |