From e1fdd2866b0f403b5e80994890d62c2c038c16c9 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Tue, 26 Oct 2021 21:26:10 +0100 Subject: IVGCVSW-6470 Create MemoryStrategyBenchmark * Refactor the strategy library to be more generic * Shorten the names of the current strategies * Change validatorStrat to throw exceptions Change-Id: I0d9c9ef609b2d8675e5788610d1accac6767c660 Signed-off-by: Finn Williams Signed-off-by: Jim Flynn --- tests/MemoryStrategyBenchmark/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/MemoryStrategyBenchmark/CMakeLists.txt (limited to 'tests/MemoryStrategyBenchmark/CMakeLists.txt') diff --git a/tests/MemoryStrategyBenchmark/CMakeLists.txt b/tests/MemoryStrategyBenchmark/CMakeLists.txt new file mode 100644 index 0000000000..9ed79bae5f --- /dev/null +++ b/tests/MemoryStrategyBenchmark/CMakeLists.txt @@ -0,0 +1,16 @@ +add_executable(MemoryStrategyBenchmark + MemoryStrategyBenchmark.cpp + TestBlocks.hpp + TestStrategy.hpp + TestStrategy.cpp + ../../include/armnn/Exceptions.hpp + ../../src/armnn/Exceptions.cpp) + +target_link_libraries(MemoryStrategyBenchmark armnnMemoryOptimizationStrategies) +target_include_directories(MemoryStrategyBenchmark PRIVATE + ../../include/armnn/backends + ../../src/backends/backendsCommon/memoryOptimizerStrategyLibrary + ../../third-party/cxxopts) + + +set_target_properties(MemoryStrategyBenchmark PROPERTIES LINKER_LANGUAGE CXX) \ No newline at end of file -- cgit v1.2.1