diff options
author | Anton Moberg <anton.moberg@arm.com> | 2021-02-10 08:49:28 +0100 |
---|---|---|
committer | Anton Moberg <anton.moberg@arm.com> | 2021-02-12 14:37:30 +0100 |
commit | 66ed182cd7520537e73ec37f17f8bf549d8297a2 (patch) | |
tree | 7ce2ce2f2c10f24d3b6fd5b4cb3e3bd9024ad2a3 /applications/inference_process/CMakeLists.txt | |
parent | 83e49967d1c4eeff21025ea0bd449c938c91c5f8 (diff) | |
download | ethos-u-core-software-66ed182cd7520537e73ec37f17f8bf549d8297a2.tar.gz |
core_software - Move TensorArena21.02-rc2
Moved TensorArena in inference_process.ccp to application level.
InferenceProcess class now takes TensorArena pointer and TensorArenaSize as parameters. Needs to be set by application before runJob() is called.
Change-Id: I530b96039868305fa903ae7f93419d9d00f9c16f
Diffstat (limited to 'applications/inference_process/CMakeLists.txt')
-rw-r--r-- | applications/inference_process/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/applications/inference_process/CMakeLists.txt b/applications/inference_process/CMakeLists.txt index 3348d28..97d4d8f 100644 --- a/applications/inference_process/CMakeLists.txt +++ b/applications/inference_process/CMakeLists.txt @@ -16,14 +16,11 @@ # limitations under the License. # -set(TR_ARENA_SIZE "200000" CACHE STRING "Arena size.") set(TR_PRINT_OUTPUT_BYTES "" CACHE STRING "Print output data.") add_library(inference_process STATIC) + target_include_directories(inference_process PUBLIC include PRIVATE ${TENSORFLOW_PATH} ${TENSORFLOW_PATH}/tensorflow/lite/micro/tools/make/downloads/flatbuffers/include) target_link_libraries(inference_process PUBLIC tflu cmsis_core cmsis_device) -target_sources(inference_process PRIVATE src/inference_process.cpp) - -# Set arena size -target_compile_definitions(inference_process PRIVATE TENSOR_ARENA_SIZE=${TR_ARENA_SIZE}) +target_sources(inference_process PRIVATE src/inference_process.cpp)
\ No newline at end of file |