David Beck | 10b4dfd | 2018-09-19 12:03:20 +0100 | [diff] [blame] | 1 | # |
Pavel Macenauer | 59e057f | 2020-04-15 14:17:26 +0000 | [diff] [blame] | 2 | # Copyright © 2020 Arm Ltd. All rights reserved. |
| 3 | # Copyright 2020 NXP |
David Beck | 10b4dfd | 2018-09-19 12:03:20 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: MIT |
| 5 | # |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 6 | cmake_minimum_required (VERSION 3.0.2) # 3.0.2 required for return() statement used in AddDllCopyCommands.cmake |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 7 | project(armnn) |
| 8 | |
| 9 | set(additional_cmake_files) |
| 10 | list(APPEND additional_cmake_files |
Guillaume Gardet | 5ae7829 | 2019-10-15 08:47:26 +0200 | [diff] [blame] | 11 | cmake/ArmnnVersion.cmake |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 12 | cmake/Utils.cmake |
| 13 | cmake/GlobalConfig.cmake |
| 14 | cmake/AddDllCopyCommands.cmake) |
| 15 | |
| 16 | foreach(cmake_file ${additional_cmake_files}) |
| 17 | include(${cmake_file}) |
| 18 | endforeach() |
| 19 | |
Matteo Martincigh | e7d4498 | 2019-08-05 12:16:47 +0100 | [diff] [blame] | 20 | if (DYNAMIC_BACKEND_PATHS) |
| 21 | # It's expected to have the format: DYNAMIC_BACKEND_PATHS="PATH_1:PATH_2...:PATH_N" |
| 22 | add_definitions('-DDYNAMIC_BACKEND_PATHS="${DYNAMIC_BACKEND_PATHS}"') |
| 23 | endif() |
| 24 | |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 25 | include(GNUInstallDirs) |
| 26 | |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 27 | add_subdirectory(samples) |
| 28 | add_subdirectory(src/armnnTfLiteParser) |
| 29 | add_subdirectory(src/armnnSerializer) |
| 30 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 31 | if (BUILD_TESTS) |
| 32 | add_subdirectory(tests) |
| 33 | endif() |
| 34 | |
| 35 | # Include the additional cmake files in their own target so that they will appear nicely in IDEs |
| 36 | add_custom_target(AdditionalCMakeFiles SOURCES ${additional_cmake_files}) |
| 37 | |
| 38 | set(armnnUtils_sources) |
| 39 | list(APPEND armnnUtils_sources |
Matteo Martincigh | e011d20 | 2019-11-28 11:35:47 +0000 | [diff] [blame] | 40 | include/armnnUtils/DataLayoutIndexed.hpp |
| 41 | include/armnnUtils/Permute.hpp |
| 42 | include/armnnUtils/FloatingPointConverter.hpp |
| 43 | include/armnnUtils/TensorUtils.hpp |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 44 | include/armnnUtils/Transpose.hpp |
Narumol Prangnawarat | c3bf6ef | 2020-02-28 12:45:21 +0000 | [diff] [blame] | 45 | src/armnnUtils/BFloat16.hpp |
Rob Hughes | bdee426 | 2020-01-07 17:05:24 +0000 | [diff] [blame] | 46 | src/armnnUtils/Filesystem.hpp |
| 47 | src/armnnUtils/Filesystem.cpp |
| 48 | src/armnnUtils/Processes.hpp |
| 49 | src/armnnUtils/Processes.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 50 | src/armnnUtils/GraphTopologicalSort.hpp |
arovir01 | 616e775 | 2018-10-01 17:08:59 +0100 | [diff] [blame] | 51 | src/armnnUtils/Half.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 52 | src/armnnUtils/Permute.cpp |
Matteo Martincigh | 2135015 | 2018-11-28 16:22:22 +0000 | [diff] [blame] | 53 | src/armnnUtils/DataLayoutIndexed.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 54 | src/armnnUtils/DotSerializer.cpp |
| 55 | src/armnnUtils/DotSerializer.hpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 56 | src/armnnUtils/HeapProfiling.cpp |
| 57 | src/armnnUtils/HeapProfiling.hpp |
| 58 | src/armnnUtils/LeakChecking.cpp |
| 59 | src/armnnUtils/LeakChecking.hpp |
Éanna Ó Catháin | a4247d5 | 2019-05-08 14:00:45 +0100 | [diff] [blame] | 60 | src/armnnUtils/ModelAccuracyChecker.cpp |
| 61 | src/armnnUtils/ModelAccuracyChecker.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 62 | src/armnnUtils/CsvReader.cpp |
| 63 | src/armnnUtils/CsvReader.hpp |
| 64 | src/armnnUtils/FloatingPointConverter.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 65 | src/armnnUtils/VerificationHelpers.hpp |
| 66 | src/armnnUtils/VerificationHelpers.cpp |
Sadik Armagan | 479045b | 2018-10-01 11:51:37 +0100 | [diff] [blame] | 67 | src/armnnUtils/ParserHelper.hpp |
| 68 | src/armnnUtils/ParserHelper.cpp |
Matthew Bentham | 4057d91 | 2019-01-21 15:45:51 +0000 | [diff] [blame] | 69 | src/armnnUtils/ParserPrototxtFixture.hpp |
| 70 | src/armnnUtils/PrototxtConversions.hpp |
| 71 | src/armnnUtils/PrototxtConversions.cpp |
Aron Virginas-Tar | 48623a0 | 2019-10-22 10:00:28 +0100 | [diff] [blame] | 72 | src/armnnUtils/QuantizeHelper.hpp |
Jim Flynn | 2fd6100 | 2019-05-03 12:54:26 +0100 | [diff] [blame] | 73 | src/armnnUtils/TensorIOUtils.hpp |
Nina Drozd | d41b259 | 2018-11-19 13:03:36 +0000 | [diff] [blame] | 74 | src/armnnUtils/TensorUtils.cpp |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 75 | src/armnnUtils/Transpose.cpp |
Rob Hughes | bc873d2 | 2020-05-20 13:11:37 +0100 | [diff] [blame] | 76 | src/armnnUtils/WindowsWrapper.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 77 | ) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 78 | |
| 79 | add_library_ex(armnnUtils STATIC ${armnnUtils_sources}) |
Jim Flynn | f92dfce | 2019-05-02 11:33:25 +0100 | [diff] [blame] | 80 | target_include_directories(armnnUtils PRIVATE src/backends) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 81 | |
| 82 | if(BUILD_CAFFE_PARSER) |
| 83 | # ArmNN Parser source files required for all build options |
| 84 | set(armnn_caffe_parser_sources) |
| 85 | list(APPEND armnn_caffe_parser_sources |
| 86 | include/armnnCaffeParser/ICaffeParser.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 87 | src/armnnCaffeParser/RecordByRecordCaffeParser.hpp |
| 88 | src/armnnCaffeParser/RecordByRecordCaffeParser.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 89 | src/armnnCaffeParser/CaffeParser.hpp |
| 90 | src/armnnCaffeParser/CaffeParser.cpp |
| 91 | ${CAFFE_GENERATED_SOURCES}/caffe/proto/caffe.pb.cc |
| 92 | ) |
| 93 | # The generated Caffe protobuf .cc file is not warning clean and we can't fix them. |
| 94 | if(COMPILER_IS_GNU_LIKE) |
Narumol Prangnawarat | 2e27e9d | 2020-02-07 09:46:31 +0000 | [diff] [blame] | 95 | set_source_files_properties(${CAFFE_GENERATED_SOURCES}/caffe/proto/caffe.pb.cc PROPERTIES COMPILE_FLAGS "-Wno-unused-variable -Wno-unused-parameter -Wno-conversion -Wno-sign-conversion") |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 96 | endif() |
| 97 | |
| 98 | add_library_ex(armnnCaffeParser SHARED ${armnn_caffe_parser_sources}) |
| 99 | set_target_properties(armnnCaffeParser PROPERTIES COMPILE_FLAGS "${CAFFE_PARSER_ADDITIONAL_COMPILE_FLAGS}") |
| 100 | |
| 101 | target_include_directories(armnnCaffeParser PRIVATE src/armnnUtils) |
| 102 | |
Derek Lamberti | 0844697 | 2019-11-26 16:38:31 +0000 | [diff] [blame] | 103 | target_link_libraries(armnnCaffeParser ${Boost_THREAD_LIBRARY} ${Boost_SYSTEM_LIBRARY}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 104 | |
| 105 | target_link_libraries(armnnCaffeParser armnn) |
| 106 | target_link_libraries(armnnCaffeParser ${PROTOBUF_LIBRARIES}) |
Matteo Martincigh | bccc345 | 2019-10-18 14:59:19 +0100 | [diff] [blame] | 107 | set_target_properties(armnnCaffeParser PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION}) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 108 | |
| 109 | endif() |
| 110 | |
| 111 | if(BUILD_ONNX_PARSER) |
| 112 | set(armnn_onnx_parser_sources) |
| 113 | list(APPEND armnn_onnx_parser_sources |
| 114 | include/armnnOnnxParser/IOnnxParser.hpp |
| 115 | src/armnnOnnxParser/OnnxParser.hpp |
| 116 | src/armnnOnnxParser/OnnxParser.cpp |
| 117 | ${ONNX_GENERATED_SOURCES}/onnx/onnx.pb.cc |
| 118 | ) |
| 119 | # The generated onnx protobuf .cc files are not warning clean and we can't fix them. |
| 120 | if(COMPILER_IS_GNU_LIKE) |
| 121 | set_source_files_properties(${ONNX_GENERATED_SOURCES}/onnx/onnx.pb.cc PROPERTIES COMPILE_FLAGS "-Wno-conversion -Wno-sign-conversion") |
| 122 | endif() |
| 123 | |
| 124 | add_library_ex(armnnOnnxParser SHARED ${armnn_onnx_parser_sources}) |
| 125 | |
| 126 | target_include_directories(armnnOnnxParser PRIVATE src/armnnUtils) |
| 127 | |
| 128 | target_link_libraries(armnnOnnxParser armnn) |
| 129 | |
| 130 | # Protobuf |
| 131 | target_link_libraries(armnnOnnxParser ${PROTOBUF_LIBRARIES}) |
Matteo Martincigh | bccc345 | 2019-10-18 14:59:19 +0100 | [diff] [blame] | 132 | set_target_properties(armnnOnnxParser PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 133 | endif() |
| 134 | |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 135 | if(BUILD_TF_PARSER) |
| 136 | set(armnn_tf_parser_sources) |
| 137 | list(APPEND armnn_tf_parser_sources |
| 138 | include/armnnTfParser/ITfParser.hpp |
| 139 | src/armnnTfParser/TfParser.hpp |
| 140 | src/armnnTfParser/TfParser.cpp |
| 141 | ${TF_PROTOBUFS} |
| 142 | ) |
| 143 | # The generated tensorflow protobuf .cc files are not warning clean and we can't fix them. |
| 144 | if(COMPILER_IS_GNU_LIKE) |
Derek Lamberti | ba25aee | 2019-12-10 22:20:54 +0000 | [diff] [blame] | 145 | set_source_files_properties(${TF_PROTOBUFS} PROPERTIES COMPILE_FLAGS "-Wno-unused-variable -Wno-unused-parameter -Wno-conversion -Wno-sign-conversion") |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 146 | endif() |
| 147 | |
| 148 | add_library_ex(armnnTfParser SHARED ${armnn_tf_parser_sources}) |
| 149 | |
| 150 | target_include_directories(armnnTfParser PRIVATE src/armnnUtils) |
| 151 | |
| 152 | target_link_libraries(armnnTfParser armnn) |
| 153 | |
| 154 | # Protobuf (use the specific version tensorflow wants) |
| 155 | target_link_libraries(armnnTfParser ${PROTOBUF_LIBRARIES}) |
Matteo Martincigh | bccc345 | 2019-10-18 14:59:19 +0100 | [diff] [blame] | 156 | set_target_properties(armnnTfParser PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION}) |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 157 | endif() |
| 158 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 159 | if(BUILD_ARMNN_QUANTIZER AND ARMNNREF) |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 160 | if(NOT BUILD_ARMNN_SERIALIZER) |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 161 | message(ERROR, "In order to build the ArmNN Quantization Tool you must set BUILD_ARMNN_SERIALIZER = YES") |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 162 | endif() |
| 163 | |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 164 | set(armnn_quantizer_sources) |
| 165 | list(APPEND armnn_quantizer_sources |
| 166 | src/armnnQuantizer/QuantizationDataSet.hpp |
| 167 | src/armnnQuantizer/QuantizationDataSet.cpp |
| 168 | src/armnnQuantizer/QuantizationInput.hpp |
| 169 | src/armnnQuantizer/QuantizationInput.cpp |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 170 | src/armnnQuantizer/CommandLineProcessor.hpp |
| 171 | src/armnnQuantizer/CommandLineProcessor.cpp |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 172 | ) |
| 173 | |
| 174 | add_library_ex(armnnQuantizer SHARED ${armnn_quantizer_sources}) |
| 175 | |
| 176 | target_include_directories(armnnQuantizer PRIVATE include/armnnDeserializer) |
| 177 | target_include_directories(armnnQuantizer PRIVATE src/armnnUtils) |
| 178 | target_include_directories(armnnQuantizer PRIVATE src/armnn) |
| 179 | |
| 180 | include_directories(SYSTEM "${FLATBUFFERS_INCLUDE_PATH}") |
| 181 | set_target_properties(armnnQuantizer PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}) |
| 182 | |
| 183 | target_link_libraries(armnnQuantizer |
Guillaume GARDET | e315c8f | 2019-06-05 10:58:47 +0200 | [diff] [blame] | 184 | armnn |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 185 | ${Boost_SYSTEM_LIBRARY} |
| 186 | ${Boost_PROGRAM_OPTIONS_LIBRARY} |
| 187 | ${Boost_FILESYSTEM_LIBRARY} |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 188 | ${Boost_THREAD_LIBRARY} ) |
| 189 | |
| 190 | add_executable_ex(ArmnnQuantizer |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 191 | src/armnnQuantizer/ArmNNQuantizerMain.cpp) |
| 192 | |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 193 | target_include_directories(ArmnnQuantizer PRIVATE include/armnnDeserializer) |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 194 | target_include_directories(ArmnnQuantizer PRIVATE src/armnn) |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 195 | |
| 196 | target_link_libraries(ArmnnQuantizer |
| 197 | ${Boost_SYSTEM_LIBRARY} |
| 198 | ${Boost_PROGRAM_OPTIONS_LIBRARY} |
| 199 | ${Boost_FILESYSTEM_LIBRARY} |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 200 | ${Boost_THREAD_LIBRARY} ) |
| 201 | |
| 202 | target_link_libraries(ArmnnQuantizer |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 203 | armnnQuantizer |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 204 | armnnSerializer |
| 205 | armnn |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 206 | armnnUtils |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 207 | ${FLATBUFFERS_LIBRARY}) |
| 208 | |
| 209 | if(Threads_FOUND AND (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL Android))) |
| 210 | target_link_libraries(ArmnnQuantizer pthread) |
| 211 | endif() |
| 212 | |
Matteo Martincigh | 7be81f6 | 2019-10-21 11:33:50 +0100 | [diff] [blame] | 213 | set_target_properties(armnnQuantizer PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION}) |
Matteo Martincigh | bccc345 | 2019-10-18 14:59:19 +0100 | [diff] [blame] | 214 | |
Jim Flynn | 3091b06 | 2019-02-15 14:45:04 +0000 | [diff] [blame] | 215 | endif() |
| 216 | |
| 217 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 218 | list(APPEND armnn_sources |
| 219 | include/armnn/ArmNN.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 220 | include/armnn/BackendHelper.hpp |
David Beck | 9df2d95 | 2018-10-10 15:11:44 +0100 | [diff] [blame] | 221 | include/armnn/BackendId.hpp |
Derek Lamberti | 836b27b | 2019-11-20 10:51:57 +0000 | [diff] [blame] | 222 | include/armnn/BackendOptions.hpp |
Matteo Martincigh | c601aa6 | 2019-10-29 15:03:22 +0000 | [diff] [blame] | 223 | include/armnn/BackendRegistry.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 224 | include/armnn/Conversion.hpp |
| 225 | include/armnn/Deprecated.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 226 | include/armnn/Descriptors.hpp |
| 227 | include/armnn/DescriptorsFwd.hpp |
David Beck | 9df2d95 | 2018-10-10 15:11:44 +0100 | [diff] [blame] | 228 | include/armnn/Exceptions.hpp |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 229 | include/armnn/ILayerSupport.hpp |
jimfly01 | 5f4e41f | 2019-01-23 16:10:17 +0000 | [diff] [blame] | 230 | include/armnn/ILayerVisitor.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 231 | include/armnn/INetwork.hpp |
David Beck | 9df2d95 | 2018-10-10 15:11:44 +0100 | [diff] [blame] | 232 | include/armnn/IProfiler.hpp |
| 233 | include/armnn/IRuntime.hpp |
| 234 | include/armnn/LayerSupport.hpp |
Mike Kelly | 8c1701a | 2019-02-11 17:01:27 +0000 | [diff] [blame] | 235 | include/armnn/LayerVisitorBase.hpp |
Derek Lamberti | 0844697 | 2019-11-26 16:38:31 +0000 | [diff] [blame] | 236 | include/armnn/Logging.hpp |
David Beck | 9df2d95 | 2018-10-10 15:11:44 +0100 | [diff] [blame] | 237 | include/armnn/LstmParams.hpp |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 238 | include/armnn/MemorySources.hpp |
David Beck | 9df2d95 | 2018-10-10 15:11:44 +0100 | [diff] [blame] | 239 | include/armnn/NetworkFwd.hpp |
David Beck | 5eec11d | 2018-10-04 15:43:17 +0100 | [diff] [blame] | 240 | include/armnn/Optional.hpp |
James Conroy | ee18dc8 | 2019-07-17 11:27:46 +0100 | [diff] [blame] | 241 | include/armnn/QuantizedLstmParams.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 242 | include/armnn/Tensor.hpp |
| 243 | include/armnn/TensorFwd.hpp |
| 244 | include/armnn/Types.hpp |
| 245 | include/armnn/TypesUtils.hpp |
| 246 | include/armnn/Utils.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 247 | include/armnn/Version.hpp |
Colm Donelan | 5ccb33d | 2020-01-24 16:27:02 +0000 | [diff] [blame] | 248 | include/armnn/profiling/IProfilingGuidGenerator.hpp |
| 249 | include/armnn/profiling/ISendTimelinePacket.hpp |
Derek Lamberti | dcfc636 | 2020-02-19 13:25:42 +0000 | [diff] [blame] | 250 | include/armnn/utility/Assert.hpp |
Derek Lamberti | 9f8cad2 | 2020-02-19 13:17:02 +0000 | [diff] [blame] | 251 | include/armnn/utility/IgnoreUnused.hpp |
Derek Lamberti | 53d092d | 2020-02-19 13:40:56 +0000 | [diff] [blame] | 252 | include/armnn/utility/NumericCast.hpp |
Derek Lamberti | 4d4e0e2 | 2020-02-19 13:30:47 +0000 | [diff] [blame] | 253 | include/armnn/utility/PolymorphicDowncast.hpp |
David Monahan | a8837bf | 2020-04-16 10:01:56 +0100 | [diff] [blame] | 254 | include/armnn/utility/StringUtils.hpp |
Finn Williams | 0c8cb99 | 2020-05-07 10:38:15 +0100 | [diff] [blame] | 255 | profiling/common/include/Packet.hpp |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 256 | profiling/common/include/ProfilingException.hpp |
Sadik Armagan | a97a0be | 2020-03-03 10:44:56 +0000 | [diff] [blame] | 257 | profiling/common/include/SocketConnectionException.hpp |
Finn Williams | e09fc82 | 2020-04-29 13:17:30 +0100 | [diff] [blame] | 258 | profiling/common/include/Constants.hpp |
Rob Hughes | bc873d2 | 2020-05-20 13:11:37 +0100 | [diff] [blame] | 259 | profiling/common/include/NetworkSockets.hpp |
Finn Williams | 9937f93 | 2020-04-29 12:00:24 +0100 | [diff] [blame] | 260 | profiling/common/src/NetworkSockets.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 261 | src/armnn/layers/LayerCloneBase.hpp |
| 262 | src/armnn/layers/LayerWithParameters.hpp |
| 263 | src/armnn/layers/ActivationLayer.hpp |
| 264 | src/armnn/layers/ActivationLayer.cpp |
| 265 | src/armnn/layers/AdditionLayer.hpp |
| 266 | src/armnn/layers/AdditionLayer.cpp |
Nikhil Raj | ee391d5 | 2019-09-05 17:50:44 +0100 | [diff] [blame] | 267 | src/armnn/layers/ArgMinMaxLayer.hpp |
| 268 | src/armnn/layers/ArgMinMaxLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 269 | src/armnn/layers/BatchNormalizationLayer.hpp |
| 270 | src/armnn/layers/BatchNormalizationLayer.cpp |
Éanna Ó Catháin | 4e1e136 | 2018-11-12 11:36:34 +0000 | [diff] [blame] | 271 | src/armnn/layers/BatchToSpaceNdLayer.hpp |
| 272 | src/armnn/layers/BatchToSpaceNdLayer.cpp |
Aron Virginas-Tar | 77bfb5e | 2019-10-16 17:45:38 +0100 | [diff] [blame] | 273 | src/armnn/layers/ComparisonLayer.hpp |
| 274 | src/armnn/layers/ComparisonLayer.cpp |
Jim Flynn | e242f2d | 2019-05-22 14:24:13 +0100 | [diff] [blame] | 275 | src/armnn/layers/ConcatLayer.hpp |
| 276 | src/armnn/layers/ConcatLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 277 | src/armnn/layers/ConstantLayer.hpp |
| 278 | src/armnn/layers/ConstantLayer.cpp |
| 279 | src/armnn/layers/Convolution2dLayer.hpp |
| 280 | src/armnn/layers/Convolution2dLayer.cpp |
Narumol Prangnawarat | 7ddbbae | 2020-03-13 10:26:05 +0000 | [diff] [blame] | 281 | src/armnn/layers/ConvertBf16ToFp32Layer.cpp |
| 282 | src/armnn/layers/ConvertBf16ToFp32Layer.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 283 | src/armnn/layers/ConvertFp16ToFp32Layer.hpp |
| 284 | src/armnn/layers/ConvertFp16ToFp32Layer.cpp |
Narumol Prangnawarat | ea54a01 | 2020-03-16 16:36:10 +0000 | [diff] [blame] | 285 | src/armnn/layers/ConvertFp32ToBf16Layer.hpp |
| 286 | src/armnn/layers/ConvertFp32ToBf16Layer.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 287 | src/armnn/layers/ConvertFp32ToFp16Layer.hpp |
| 288 | src/armnn/layers/ConvertFp32ToFp16Layer.cpp |
Nattapat Chaimanowong | a9a1cf1 | 2018-12-03 16:06:49 +0000 | [diff] [blame] | 289 | src/armnn/layers/DebugLayer.hpp |
| 290 | src/armnn/layers/DebugLayer.cpp |
Aron Virginas-Tar | dd6247f | 2019-09-19 14:31:17 +0100 | [diff] [blame] | 291 | src/armnn/layers/DepthToSpaceLayer.hpp |
| 292 | src/armnn/layers/DepthToSpaceLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 293 | src/armnn/layers/DepthwiseConvolution2dLayer.hpp |
| 294 | src/armnn/layers/DepthwiseConvolution2dLayer.cpp |
Nattapat Chaimanowong | e4294fd | 2019-03-28 09:56:53 +0000 | [diff] [blame] | 295 | src/armnn/layers/DequantizeLayer.hpp |
| 296 | src/armnn/layers/DequantizeLayer.cpp |
Narumol Prangnawarat | 94dd5d8 | 2019-01-23 18:06:26 +0000 | [diff] [blame] | 297 | src/armnn/layers/DetectionPostProcessLayer.hpp |
| 298 | src/armnn/layers/DetectionPostProcessLayer.cpp |
Matteo Martincigh | 59a950c | 2018-12-13 12:48:25 +0000 | [diff] [blame] | 299 | src/armnn/layers/ElementwiseBaseLayer.hpp |
| 300 | src/armnn/layers/ElementwiseBaseLayer.cpp |
josh minor | 4a3c610 | 2020-01-06 16:40:46 -0600 | [diff] [blame] | 301 | src/armnn/layers/ElementwiseUnaryLayer.hpp |
| 302 | src/armnn/layers/ElementwiseUnaryLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 303 | src/armnn/layers/FakeQuantizationLayer.hpp |
| 304 | src/armnn/layers/FakeQuantizationLayer.cpp |
| 305 | src/armnn/layers/FloorLayer.hpp |
| 306 | src/armnn/layers/FloorLayer.cpp |
| 307 | src/armnn/layers/FullyConnectedLayer.hpp |
| 308 | src/armnn/layers/FullyConnectedLayer.cpp |
narpra01 | b89b05f | 2019-01-16 09:53:09 +0000 | [diff] [blame] | 309 | src/armnn/layers/GatherLayer.cpp |
| 310 | src/armnn/layers/GatherLayer.hpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 311 | src/armnn/layers/InputLayer.hpp |
| 312 | src/armnn/layers/InputLayer.cpp |
Kevin May | ce5045a | 2019-10-02 14:07:47 +0100 | [diff] [blame] | 313 | src/armnn/layers/InstanceNormalizationLayer.hpp |
| 314 | src/armnn/layers/InstanceNormalizationLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 315 | src/armnn/layers/L2NormalizationLayer.hpp |
| 316 | src/armnn/layers/L2NormalizationLayer.cpp |
Aron Virginas-Tar | f982dea | 2019-10-11 14:07:53 +0100 | [diff] [blame] | 317 | src/armnn/layers/LogSoftmaxLayer.hpp |
| 318 | src/armnn/layers/LogSoftmaxLayer.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 319 | src/armnn/layers/LstmLayer.cpp |
| 320 | src/armnn/layers/LstmLayer.hpp |
Nattapat Chaimanowong | 5a4304a | 2018-11-28 10:44:37 +0000 | [diff] [blame] | 321 | src/armnn/layers/MaximumLayer.cpp |
| 322 | src/armnn/layers/MaximumLayer.hpp |
narpra01 | 32b9046 | 2018-09-13 11:07:48 +0100 | [diff] [blame] | 323 | src/armnn/layers/MeanLayer.hpp |
| 324 | src/armnn/layers/MeanLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 325 | src/armnn/layers/MemCopyLayer.hpp |
| 326 | src/armnn/layers/MemCopyLayer.cpp |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 327 | src/armnn/layers/MemImportLayer.hpp |
| 328 | src/armnn/layers/MemImportLayer.cpp |
Nattapat Chaimanowong | 1f88630 | 2019-04-05 13:37:19 +0100 | [diff] [blame] | 329 | src/armnn/layers/MergeLayer.hpp |
| 330 | src/armnn/layers/MergeLayer.cpp |
kevmay01 | 9053969 | 2018-11-29 08:40:19 +0000 | [diff] [blame] | 331 | src/armnn/layers/MinimumLayer.cpp |
| 332 | src/armnn/layers/MinimumLayer.hpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 333 | src/armnn/layers/MultiplicationLayer.hpp |
| 334 | src/armnn/layers/MultiplicationLayer.cpp |
| 335 | src/armnn/layers/NormalizationLayer.hpp |
| 336 | src/armnn/layers/NormalizationLayer.cpp |
| 337 | src/armnn/layers/OutputLayer.hpp |
| 338 | src/armnn/layers/OutputLayer.cpp |
Mohamed Nour Abouelseoud | 5662c20 | 2018-09-24 13:30:09 +0100 | [diff] [blame] | 339 | src/armnn/layers/PadLayer.hpp |
| 340 | src/armnn/layers/PadLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 341 | src/armnn/layers/PermuteLayer.hpp |
| 342 | src/armnn/layers/PermuteLayer.cpp |
| 343 | src/armnn/layers/Pooling2dLayer.hpp |
| 344 | src/armnn/layers/Pooling2dLayer.cpp |
Derek Lamberti | a9cca6a | 2019-03-25 15:41:58 +0000 | [diff] [blame] | 345 | src/armnn/layers/QuantizeLayer.cpp |
| 346 | src/armnn/layers/QuantizeLayer.hpp |
James Conroy | 586a9aa | 2020-03-20 08:49:33 +0000 | [diff] [blame] | 347 | src/armnn/layers/QLstmLayer.hpp |
| 348 | src/armnn/layers/QLstmLayer.cpp |
James Conroy | ee18dc8 | 2019-07-17 11:27:46 +0100 | [diff] [blame] | 349 | src/armnn/layers/QuantizedLstmLayer.hpp |
| 350 | src/armnn/layers/QuantizedLstmLayer.cpp |
Francis Murtagh | e7a86a4 | 2018-08-29 12:42:10 +0100 | [diff] [blame] | 351 | src/armnn/layers/DivisionLayer.cpp |
| 352 | src/armnn/layers/DivisionLayer.hpp |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 353 | src/armnn/layers/PreCompiledLayer.hpp |
| 354 | src/armnn/layers/PreCompiledLayer.cpp |
Matteo Martincigh | 0e406ee | 2019-06-12 15:42:18 +0100 | [diff] [blame] | 355 | src/armnn/layers/PreluLayer.hpp |
| 356 | src/armnn/layers/PreluLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 357 | src/armnn/layers/ReshapeLayer.hpp |
| 358 | src/armnn/layers/ReshapeLayer.cpp |
Teresa Charlin | a9075df | 2019-06-27 15:41:57 +0100 | [diff] [blame] | 359 | src/armnn/layers/ResizeLayer.hpp |
| 360 | src/armnn/layers/ResizeLayer.cpp |
Aron Virginas-Tar | 636ab40 | 2019-09-16 14:27:45 +0100 | [diff] [blame] | 361 | src/armnn/layers/SliceLayer.cpp |
| 362 | src/armnn/layers/SliceLayer.hpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 363 | src/armnn/layers/SoftmaxLayer.hpp |
| 364 | src/armnn/layers/SoftmaxLayer.cpp |
Matteo Martincigh | 0e406ee | 2019-06-12 15:42:18 +0100 | [diff] [blame] | 365 | src/armnn/layers/SpaceToBatchNdLayer.hpp |
| 366 | src/armnn/layers/SpaceToBatchNdLayer.cpp |
| 367 | src/armnn/layers/SpaceToDepthLayer.hpp |
| 368 | src/armnn/layers/SpaceToDepthLayer.cpp |
surmeh01 | 3537c2c | 2018-05-18 16:31:43 +0100 | [diff] [blame] | 369 | src/armnn/layers/SplitterLayer.hpp |
| 370 | src/armnn/layers/SplitterLayer.cpp |
Matthew Jackson | 2b8c1da | 2019-07-04 14:59:16 +0100 | [diff] [blame] | 371 | src/armnn/layers/StackLayer.hpp |
| 372 | src/armnn/layers/StackLayer.cpp |
Derek Lamberti | 013c390 | 2019-10-21 10:46:16 +0100 | [diff] [blame] | 373 | src/armnn/layers/StandInLayer.cpp |
| 374 | src/armnn/layers/StandInLayer.hpp |
Conor Kennedy | 430b5d8 | 2018-11-14 15:28:28 +0000 | [diff] [blame] | 375 | src/armnn/layers/StridedSliceLayer.cpp |
| 376 | src/armnn/layers/StridedSliceLayer.hpp |
David Beck | c2044fe | 2018-09-05 15:00:38 +0100 | [diff] [blame] | 377 | src/armnn/layers/SubtractionLayer.cpp |
| 378 | src/armnn/layers/SubtractionLayer.hpp |
Sadik Armagan | eff363d | 2019-04-05 15:25:46 +0100 | [diff] [blame] | 379 | src/armnn/layers/SwitchLayer.cpp |
| 380 | src/armnn/layers/SwitchLayer.hpp |
Aron Virginas-Tar | 639fb04 | 2019-06-20 14:28:19 +0100 | [diff] [blame] | 381 | src/armnn/layers/TransposeConvolution2dLayer.cpp |
| 382 | src/armnn/layers/TransposeConvolution2dLayer.hpp |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 383 | src/armnn/layers/TransposeLayer.hpp |
| 384 | src/armnn/layers/TransposeLayer.cpp |
Matteo Martincigh | c601aa6 | 2019-10-29 15:03:22 +0000 | [diff] [blame] | 385 | src/armnn/BackendRegistry.cpp |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 386 | src/armnn/BackendSettings.hpp |
Ferran Balaguer | f54c946 | 2019-07-10 12:43:58 +0100 | [diff] [blame] | 387 | src/armnn/BackendHelper.cpp |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 388 | src/armnn/CompatibleTypes.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 389 | src/armnn/Descriptors.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 390 | src/armnn/DeviceSpec.hpp |
Rob Hughes | a91479c | 2020-01-07 09:40:12 +0000 | [diff] [blame] | 391 | src/armnn/DllExport.hpp |
Jim Flynn | f92dfce | 2019-05-02 11:33:25 +0100 | [diff] [blame] | 392 | src/armnn/DynamicQuantizationVisitor.cpp |
| 393 | src/armnn/DynamicQuantizationVisitor.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 394 | src/armnn/Exceptions.cpp |
Teresa Charlin | 4de9f67 | 2019-04-10 13:59:49 +0100 | [diff] [blame] | 395 | src/armnn/ExecutionFrame.cpp |
| 396 | src/armnn/ExecutionFrame.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 397 | src/armnn/Graph.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 398 | src/armnn/Graph.hpp |
| 399 | src/armnn/IGraphObservable.hpp |
| 400 | src/armnn/Instrument.hpp |
| 401 | src/armnn/InternalTypes.cpp |
| 402 | src/armnn/InternalTypes.hpp |
Derek Lamberti | ff05cc5 | 2019-04-26 13:05:17 +0100 | [diff] [blame] | 403 | src/armnn/ISubgraphViewConverter.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 404 | src/armnn/JsonPrinter.cpp |
| 405 | src/armnn/JsonPrinter.hpp |
| 406 | src/armnn/Layer.cpp |
| 407 | src/armnn/LayerFwd.hpp |
| 408 | src/armnn/Layer.hpp |
| 409 | src/armnn/LayersFwd.hpp |
| 410 | src/armnn/LayerSupportCommon.hpp |
| 411 | src/armnn/LayerSupport.cpp |
| 412 | src/armnn/LoadedNetwork.cpp |
| 413 | src/armnn/LoadedNetwork.hpp |
Matthew Bentham | d3a0783 | 2020-01-15 17:21:38 +0000 | [diff] [blame] | 414 | src/armnn/Logging.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 415 | src/armnn/Network.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 416 | src/armnn/Network.hpp |
Nattapat Chaimanowong | 7ac07f3 | 2019-03-20 11:51:14 +0000 | [diff] [blame] | 417 | src/armnn/NetworkQuantizationScheme.hpp |
Derek Lamberti | 27d8307 | 2019-02-05 16:00:08 +0000 | [diff] [blame] | 418 | src/armnn/NetworkQuantizer.cpp |
| 419 | src/armnn/NetworkQuantizer.hpp |
Matteo Martincigh | a8d572d | 2019-02-07 17:51:09 +0000 | [diff] [blame] | 420 | src/armnn/NetworkQuantizerUtils.cpp |
| 421 | src/armnn/NetworkQuantizerUtils.hpp |
Aron Virginas-Tar | 5fdfe82 | 2018-11-21 13:14:42 +0000 | [diff] [blame] | 422 | src/armnn/NetworkUtils.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 423 | src/armnn/NetworkUtils.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 424 | src/armnn/Observable.cpp |
| 425 | src/armnn/Observable.hpp |
| 426 | src/armnn/Optimizer.cpp |
| 427 | src/armnn/Optimizer.hpp |
Matteo Martincigh | e5b8eb9 | 2019-11-28 15:45:42 +0000 | [diff] [blame] | 428 | src/armnn/OutputHandler.cpp |
| 429 | src/armnn/OutputHandler.hpp |
Matteo Martincigh | a8d572d | 2019-02-07 17:51:09 +0000 | [diff] [blame] | 430 | src/armnn/OverrideInputRangeVisitor.cpp |
| 431 | src/armnn/OverrideInputRangeVisitor.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 432 | src/armnn/Profiling.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 433 | src/armnn/ProfilingEvent.cpp |
| 434 | src/armnn/ProfilingEvent.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 435 | src/armnn/Profiling.hpp |
Derek Lamberti | 27d8307 | 2019-02-05 16:00:08 +0000 | [diff] [blame] | 436 | src/armnn/QuantizerVisitor.cpp |
| 437 | src/armnn/QuantizerVisitor.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 438 | src/armnn/Runtime.cpp |
| 439 | src/armnn/Runtime.hpp |
Derek Lamberti | 8a4ca10 | 2019-02-08 17:54:20 +0000 | [diff] [blame] | 440 | src/armnn/RangeTracker.cpp |
| 441 | src/armnn/RangeTracker.hpp |
Aron Virginas-Tar | d4f0fea | 2019-04-09 14:08:06 +0100 | [diff] [blame] | 442 | src/armnn/ResolveType.hpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 443 | src/armnn/SerializeLayerParameters.cpp |
| 444 | src/armnn/SerializeLayerParameters.hpp |
Derek Lamberti | 27d8307 | 2019-02-05 16:00:08 +0000 | [diff] [blame] | 445 | src/armnn/StaticRangeVisitor.cpp |
| 446 | src/armnn/StaticRangeVisitor.hpp |
Derek Lamberti | ff05cc5 | 2019-04-26 13:05:17 +0100 | [diff] [blame] | 447 | src/armnn/SubgraphView.cpp |
| 448 | src/armnn/SubgraphView.hpp |
| 449 | src/armnn/SubgraphViewSelector.cpp |
| 450 | src/armnn/SubgraphViewSelector.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 451 | src/armnn/Tensor.cpp |
Aron Virginas-Tar | d4f0fea | 2019-04-09 14:08:06 +0100 | [diff] [blame] | 452 | src/armnn/TypesUtils.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 453 | src/armnn/Utils.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 454 | src/armnn/WallClockTimer.cpp |
| 455 | src/armnn/WallClockTimer.hpp |
Nina Drozd | 861985f | 2019-04-18 14:48:51 +0100 | [diff] [blame] | 456 | src/armnn/optimizations/AddDebug.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 457 | src/armnn/optimizations/All.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 458 | src/armnn/optimizations/ConvertConstants.hpp |
Narumol Prangnawarat | bc7ffb5 | 2020-03-20 15:01:01 +0000 | [diff] [blame] | 459 | src/armnn/optimizations/ConvertFp32NetworkToBf16.hpp |
Nina Drozd | 861985f | 2019-04-18 14:48:51 +0100 | [diff] [blame] | 460 | src/armnn/optimizations/ConvertFp32NetworkToFp16.hpp |
| 461 | src/armnn/optimizations/FoldPadIntoConvolution2d.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 462 | src/armnn/optimizations/MovePermuteUp.hpp |
Mike Kelly | 490b7be | 2020-03-03 12:39:09 +0000 | [diff] [blame] | 463 | src/armnn/optimizations/MoveTransposeUp.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 464 | src/armnn/optimizations/Optimization.hpp |
| 465 | src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp |
Nina Drozd | 861985f | 2019-04-18 14:48:51 +0100 | [diff] [blame] | 466 | src/armnn/optimizations/OptimizeInverseConversions.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 467 | src/armnn/optimizations/OptimizeInversePermutes.hpp |
Rob Hughes | 3a7d3a7 | 2019-09-24 16:59:56 +0100 | [diff] [blame] | 468 | src/armnn/optimizations/PermuteAndBatchToSpaceAsDepthToSpace.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 469 | src/armnn/optimizations/PermuteAsReshape.hpp |
| 470 | src/armnn/optimizations/SquashEqualSiblings.hpp |
Keith Davis | 33ed221 | 2020-03-30 10:43:41 +0100 | [diff] [blame] | 471 | src/profiling/ActivateTimelineReportingCommandHandler.cpp |
| 472 | src/profiling/ActivateTimelineReportingCommandHandler.hpp |
Narumol Prangnawarat | 7be47ef | 2019-09-27 18:00:11 +0100 | [diff] [blame] | 473 | src/profiling/BufferManager.cpp |
| 474 | src/profiling/BufferManager.hpp |
Matteo Martincigh | 8a83717 | 2019-10-04 17:01:07 +0100 | [diff] [blame] | 475 | src/profiling/CommandHandler.cpp |
| 476 | src/profiling/CommandHandler.hpp |
Francis Murtagh | 11f99b4 | 2019-08-16 11:28:52 +0100 | [diff] [blame] | 477 | src/profiling/CommandHandlerFunctor.cpp |
| 478 | src/profiling/CommandHandlerFunctor.hpp |
Francis Murtagh | 1f7db45 | 2019-08-14 09:49:34 +0100 | [diff] [blame] | 479 | src/profiling/CommandHandlerKey.cpp |
| 480 | src/profiling/CommandHandlerKey.hpp |
Francis Murtagh | 94d7915 | 2019-08-16 17:45:07 +0100 | [diff] [blame] | 481 | src/profiling/CommandHandlerRegistry.cpp |
| 482 | src/profiling/CommandHandlerRegistry.hpp |
Sadik Armagan | b5f01b2 | 2019-09-18 17:29:00 +0100 | [diff] [blame] | 483 | src/profiling/ConnectionAcknowledgedCommandHandler.cpp |
| 484 | src/profiling/ConnectionAcknowledgedCommandHandler.hpp |
Aron Virginas-Tar | 4e5fc1f | 2019-08-22 18:10:52 +0100 | [diff] [blame] | 485 | src/profiling/CounterDirectory.cpp |
| 486 | src/profiling/CounterDirectory.hpp |
David Monahan | de80307 | 2020-01-30 12:44:23 +0000 | [diff] [blame] | 487 | src/profiling/CounterIdMap.cpp |
| 488 | src/profiling/CounterIdMap.hpp |
Keith Davis | 33ed221 | 2020-03-30 10:43:41 +0100 | [diff] [blame] | 489 | src/profiling/DeactivateTimelineReportingCommandHandler.cpp |
| 490 | src/profiling/DeactivateTimelineReportingCommandHandler.hpp |
Keith Davis | 3201eea | 2019-10-24 17:30:41 +0100 | [diff] [blame] | 491 | src/profiling/DirectoryCaptureCommandHandler.cpp |
| 492 | src/profiling/DirectoryCaptureCommandHandler.hpp |
Nikhil Raj | d88e47c | 2019-08-19 10:04:23 +0100 | [diff] [blame] | 493 | src/profiling/EncodeVersion.hpp |
Keith Davis | 3201eea | 2019-10-24 17:30:41 +0100 | [diff] [blame] | 494 | src/profiling/FileOnlyProfilingConnection.cpp |
| 495 | src/profiling/FileOnlyProfilingConnection.hpp |
Francis Murtagh | 68f78d8 | 2019-09-04 16:42:29 +0100 | [diff] [blame] | 496 | src/profiling/Holder.cpp |
| 497 | src/profiling/Holder.hpp |
Narumol Prangnawarat | 404b275 | 2019-09-24 17:23:16 +0100 | [diff] [blame] | 498 | src/profiling/IBufferManager.hpp |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 499 | src/profiling/IConsumer.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 500 | src/profiling/ICounterDirectory.hpp |
Jim Flynn | 9789702 | 2020-02-02 12:52:59 +0000 | [diff] [blame] | 501 | src/profiling/ICounterRegistry.hpp |
Matteo Martincigh | e0e6efc | 2019-10-04 17:17:42 +0100 | [diff] [blame] | 502 | src/profiling/ICounterValues.hpp |
Keith Davis | 33ed221 | 2020-03-30 10:43:41 +0100 | [diff] [blame] | 503 | src/profiling/INotifyBackends.hpp |
| 504 | src/profiling/IReportStructure.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 505 | src/profiling/ISendCounterPacket.hpp |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 506 | src/profiling/ISendThread.hpp |
Narumol Prangnawarat | 404b275 | 2019-09-24 17:23:16 +0100 | [diff] [blame] | 507 | src/profiling/IPacketBuffer.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 508 | src/profiling/IPeriodicCounterCapture.hpp |
Aron Virginas-Tar | 1a0f691 | 2019-08-23 15:18:44 +0100 | [diff] [blame] | 509 | src/profiling/IProfilingConnection.hpp |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 510 | src/profiling/IProfilingConnectionFactory.hpp |
Jim Flynn | ab84575 | 2019-10-25 13:17:30 +0100 | [diff] [blame] | 511 | src/profiling/LabelsAndEventClasses.cpp |
| 512 | src/profiling/LabelsAndEventClasses.hpp |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 513 | src/profiling/NullProfilingConnection.hpp |
Narumol Prangnawarat | 7be47ef | 2019-09-27 18:00:11 +0100 | [diff] [blame] | 514 | src/profiling/PacketBuffer.cpp |
| 515 | src/profiling/PacketBuffer.hpp |
Aron Virginas-Tar | e898db9 | 2019-08-22 12:56:34 +0100 | [diff] [blame] | 516 | src/profiling/PacketVersionResolver.cpp |
| 517 | src/profiling/PacketVersionResolver.hpp |
Francis Murtagh | fcb8ef6 | 2019-09-20 15:40:09 +0100 | [diff] [blame] | 518 | src/profiling/PeriodicCounterCapture.hpp |
| 519 | src/profiling/PeriodicCounterCapture.cpp |
Ferran Balaguer | 1b94172 | 2019-08-28 16:57:18 +0100 | [diff] [blame] | 520 | src/profiling/PeriodicCounterSelectionCommandHandler.cpp |
| 521 | src/profiling/PeriodicCounterSelectionCommandHandler.hpp |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 522 | src/profiling/PerJobCounterSelectionCommandHandler.cpp |
| 523 | src/profiling/PerJobCounterSelectionCommandHandler.hpp |
Aron Virginas-Tar | dfa1477 | 2019-09-24 18:24:47 +0100 | [diff] [blame] | 524 | src/profiling/ProfilingConnectionDumpToFileDecorator.cpp |
| 525 | src/profiling/ProfilingConnectionDumpToFileDecorator.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 526 | src/profiling/ProfilingConnectionFactory.cpp |
| 527 | src/profiling/ProfilingConnectionFactory.hpp |
Narumol Prangnawarat | 15effd8 | 2019-10-22 14:17:11 +0100 | [diff] [blame] | 528 | src/profiling/ProfilingGuidGenerator.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 529 | src/profiling/ProfilingService.cpp |
| 530 | src/profiling/ProfilingService.hpp |
| 531 | src/profiling/ProfilingStateMachine.cpp |
| 532 | src/profiling/ProfilingStateMachine.hpp |
| 533 | src/profiling/ProfilingUtils.cpp |
| 534 | src/profiling/ProfilingUtils.hpp |
Jim Flynn | 9789702 | 2020-02-02 12:52:59 +0000 | [diff] [blame] | 535 | src/profiling/RegisterBackendCounters.cpp |
| 536 | src/profiling/RegisterBackendCounters.hpp |
Narumol Prangnawarat | 4803369 | 2019-09-20 12:04:55 +0100 | [diff] [blame] | 537 | src/profiling/RequestCounterDirectoryCommandHandler.cpp |
| 538 | src/profiling/RequestCounterDirectoryCommandHandler.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 539 | src/profiling/SendCounterPacket.cpp |
| 540 | src/profiling/SendCounterPacket.hpp |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 541 | src/profiling/SendThread.cpp |
| 542 | src/profiling/SendThread.hpp |
Sadik Armagan | 7bbdf9d | 2019-10-24 10:26:05 +0100 | [diff] [blame] | 543 | src/profiling/SendTimelinePacket.cpp |
| 544 | src/profiling/SendTimelinePacket.hpp |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 545 | src/profiling/SocketProfilingConnection.cpp |
| 546 | src/profiling/SocketProfilingConnection.hpp |
Sadik Armagan | 7bbdf9d | 2019-10-24 10:26:05 +0100 | [diff] [blame] | 547 | src/profiling/TimelinePacketWriterFactory.cpp |
| 548 | src/profiling/TimelinePacketWriterFactory.hpp |
Matteo Martincigh | 830101c | 2019-10-22 11:07:45 +0100 | [diff] [blame] | 549 | src/profiling/TimelineUtilityMethods.cpp |
| 550 | src/profiling/TimelineUtilityMethods.hpp |
Colm Donelan | 1aff393 | 2020-02-05 17:48:59 +0000 | [diff] [blame] | 551 | src/profiling/backends/BackendProfiling.cpp |
| 552 | src/profiling/backends/BackendProfiling.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 553 | third-party/half/half.hpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 554 | ) |
| 555 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 556 | # Files used for Streamline-based profiling backend |
| 557 | if(PROFILING_BACKEND_STREAMLINE) |
| 558 | list(APPEND armnn_sources |
| 559 | ${GATOR_ROOT}/annotate/streamline_annotate.h |
| 560 | ${GATOR_ROOT}/annotate/streamline_annotate.c) |
| 561 | endif() |
| 562 | |
David Beck | 10b4dfd | 2018-09-19 12:03:20 +0100 | [diff] [blame] | 563 | # the backends under src/backends extend the list of |
David Beck | 3cc9a62 | 2018-10-12 10:38:31 +0100 | [diff] [blame] | 564 | # object libs armnn to include in the build |
David Beck | 10b4dfd | 2018-09-19 12:03:20 +0100 | [diff] [blame] | 565 | include(src/backends/backends.cmake) |
David Beck | 3cc9a62 | 2018-10-12 10:38:31 +0100 | [diff] [blame] | 566 | foreach(lib ${armnnLibraries}) |
Rob Hughes | 721b82f | 2019-11-15 09:04:17 +0000 | [diff] [blame] | 567 | message(STATUS "Adding object library dependency to armnn: ${lib}") |
David Beck | 3cc9a62 | 2018-10-12 10:38:31 +0100 | [diff] [blame] | 568 | list(APPEND armnn_sources $<TARGET_OBJECTS:${lib}>) |
| 569 | endforeach() |
| 570 | |
| 571 | add_library_ex(armnn SHARED ${armnn_sources}) |
David Beck | 10b4dfd | 2018-09-19 12:03:20 +0100 | [diff] [blame] | 572 | |
Rob Hughes | a91479c | 2020-01-07 09:40:12 +0000 | [diff] [blame] | 573 | target_compile_definitions(armnn PRIVATE "ARMNN_COMPILING_DLL") |
| 574 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 575 | target_include_directories(armnn PRIVATE src/armnn) |
| 576 | target_include_directories(armnn PRIVATE src/armnnUtils) |
Aron Virginas-Tar | c9cc804 | 2018-11-01 16:15:57 +0000 | [diff] [blame] | 577 | target_include_directories(armnn PRIVATE src/backends) |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 578 | target_include_directories(armnn PRIVATE src/profiling) |
Finn Williams | 56b465d | 2020-05-15 13:34:12 +0100 | [diff] [blame] | 579 | target_include_directories(armnn PRIVATE profiling/common/include) |
David Beck | 3cc9a62 | 2018-10-12 10:38:31 +0100 | [diff] [blame] | 580 | |
| 581 | target_link_libraries(armnn armnnUtils) |
| 582 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 583 | target_link_libraries(armnn ${CMAKE_DL_LIBS}) |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 584 | if ("${CMAKE_SYSTEM_NAME}" STREQUAL Windows) |
Rob Hughes | 25b7436 | 2020-01-13 11:14:59 +0000 | [diff] [blame] | 585 | target_link_libraries(armnn Ws2_32.lib) |
| 586 | endif() |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 587 | |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 588 | install(TARGETS armnn |
Rob Hughes | 91e1d89 | 2019-08-23 10:11:58 +0100 | [diff] [blame] | 589 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 590 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 591 | if(BUILD_CAFFE_PARSER) |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 592 | install(TARGETS armnnCaffeParser |
Rob Hughes | 91e1d89 | 2019-08-23 10:11:58 +0100 | [diff] [blame] | 593 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 594 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 595 | endif() |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 596 | if(BUILD_ONNX_PARSER) |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 597 | install(TARGETS armnnOnnxParser |
Rob Hughes | 91e1d89 | 2019-08-23 10:11:58 +0100 | [diff] [blame] | 598 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 599 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 600 | endif() |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 601 | if(BUILD_TF_PARSER) |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 602 | install(TARGETS armnnTfParser |
Rob Hughes | 91e1d89 | 2019-08-23 10:11:58 +0100 | [diff] [blame] | 603 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 604 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 605 | endif() |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 606 | |
Matthew Bentham | a7b7928 | 2019-06-03 13:00:50 +0100 | [diff] [blame] | 607 | install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 608 | |
Derek Lamberti | 0844697 | 2019-11-26 16:38:31 +0000 | [diff] [blame] | 609 | target_link_libraries(armnn ${Boost_THREAD_LIBRARY} |
Matteo Martincigh | e7d4498 | 2019-08-05 12:16:47 +0100 | [diff] [blame] | 610 | ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 611 | |
| 612 | if(ARMCOMPUTENEON OR ARMCOMPUTECL) |
| 613 | target_link_libraries(armnn ${ARMCOMPUTE_LIBRARIES}) |
| 614 | endif() |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 615 | |
Rob Hughes | 199c98e | 2019-11-13 11:41:36 +0000 | [diff] [blame] | 616 | if(PROFILING_BACKEND_STREAMLINE AND (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL Android))) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 617 | target_link_libraries(armnn pthread) |
| 618 | endif() |
| 619 | |
Matteo Martincigh | bccc345 | 2019-10-18 14:59:19 +0100 | [diff] [blame] | 620 | set_target_properties(armnn PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION}) |
| 621 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 622 | if(BUILD_UNIT_TESTS) |
| 623 | set(unittest_sources) |
| 624 | list(APPEND unittest_sources |
jimfly01 | aebf2e7 | 2019-02-05 09:20:11 +0000 | [diff] [blame] | 625 | src/armnn/test/ConstTensorLayerVisitor.hpp |
| 626 | src/armnn/test/ConstTensorLayerVisitor.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 627 | src/armnn/test/CreateWorkload.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 628 | src/armnn/test/CsvReaderTest.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 629 | src/armnn/test/EndToEndTest.cpp |
Teresa Charlin | 4de9f67 | 2019-04-10 13:59:49 +0100 | [diff] [blame] | 630 | src/armnn/test/ExecutionFrameTest.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 631 | src/armnn/test/FloatingPointConverterTest.cpp |
Matthew Bentham | d78b891d | 2019-04-30 10:17:40 +0100 | [diff] [blame] | 632 | src/armnn/test/FlowControl.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 633 | src/armnn/test/GraphTests.cpp |
narpra01 | 6f37f83 | 2018-12-21 18:30:00 +0000 | [diff] [blame] | 634 | src/armnn/test/GraphUtils.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 635 | src/armnn/test/GraphUtils.hpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 636 | src/armnn/test/InstrumentTests.cpp |
Matteo Martincigh | bf0e722 | 2019-06-20 17:17:45 +0100 | [diff] [blame] | 637 | src/armnn/test/InferOutputTests.cpp |
| 638 | src/armnn/test/InferOutputTests.hpp |
Éanna Ó Catháin | a4247d5 | 2019-05-08 14:00:45 +0100 | [diff] [blame] | 639 | src/armnn/test/ModelAccuracyCheckerTest.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 640 | src/armnn/test/NetworkTests.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 641 | src/armnn/test/ObservableTest.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 642 | src/armnn/test/OptimizerTests.cpp |
Narumol Prangnawarat | bc7ffb5 | 2020-03-20 15:01:01 +0000 | [diff] [blame] | 643 | src/armnn/test/optimizations/ConvertConstantsBFloatTests.cpp |
Rob Hughes | 95e73d7 | 2019-09-24 09:34:53 +0100 | [diff] [blame] | 644 | src/armnn/test/optimizations/ConvertConstantsFloatToHalfTests.cpp |
| 645 | src/armnn/test/optimizations/ConvertConstantsHalfToFloatTests.cpp |
Narumol Prangnawarat | bc7ffb5 | 2020-03-20 15:01:01 +0000 | [diff] [blame] | 646 | src/armnn/test/optimizations/Fp32NetworkToBf16ConverterTests.cpp |
Rob Hughes | 95e73d7 | 2019-09-24 09:34:53 +0100 | [diff] [blame] | 647 | src/armnn/test/optimizations/Fp32NetworkToFp16ConverterTests.cpp |
| 648 | src/armnn/test/optimizations/InsertDebugLayerTests.cpp |
| 649 | src/armnn/test/optimizations/MovePermuteUpTests.cpp |
Mike Kelly | 490b7be | 2020-03-03 12:39:09 +0000 | [diff] [blame] | 650 | src/armnn/test/optimizations/MoveTransposeUpTests.cpp |
Rob Hughes | 95e73d7 | 2019-09-24 09:34:53 +0100 | [diff] [blame] | 651 | src/armnn/test/optimizations/OptimizeConsecutiveReshapesTests.cpp |
| 652 | src/armnn/test/optimizations/OptimizeInverseConversionsTests.cpp |
| 653 | src/armnn/test/optimizations/OptimizeInversePermutesTests.cpp |
Rob Hughes | 3a7d3a7 | 2019-09-24 16:59:56 +0100 | [diff] [blame] | 654 | src/armnn/test/optimizations/PermuteAndBatchToSpaceAsDepthToSpaceTests.cpp |
Rob Hughes | 95e73d7 | 2019-09-24 09:34:53 +0100 | [diff] [blame] | 655 | src/armnn/test/optimizations/PermuteAsReshapeTests.cpp |
| 656 | src/armnn/test/optimizations/SquashEqualSiblingsTests.cpp |
Mike Kelly | 490b7be | 2020-03-03 12:39:09 +0000 | [diff] [blame] | 657 | src/armnn/test/optimizations/TransposeAsReshapeTests.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 658 | src/armnn/test/OptionalTest.cpp |
| 659 | src/armnn/test/ProfilerTests.cpp |
| 660 | src/armnn/test/ProfilingEventTest.cpp |
Derek Lamberti | ff05cc5 | 2019-04-26 13:05:17 +0100 | [diff] [blame] | 661 | src/armnn/test/SubgraphViewTests.cpp |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 662 | src/armnn/test/TensorHandleStrategyTest.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 663 | src/armnn/test/TensorHelpers.hpp |
| 664 | src/armnn/test/TensorTest.cpp |
FrancisMurtagh | 531ef94 | 2019-02-01 11:48:58 +0000 | [diff] [blame] | 665 | src/armnn/test/TestInputOutputLayerVisitor.cpp |
| 666 | src/armnn/test/TestInputOutputLayerVisitor.hpp |
FrancisMurtagh | 1306b19 | 2019-01-28 14:03:21 +0000 | [diff] [blame] | 667 | src/armnn/test/TestLayerVisitor.cpp |
| 668 | src/armnn/test/TestLayerVisitor.hpp |
FrancisMurtagh | 28d3d63 | 2019-01-29 12:15:23 +0000 | [diff] [blame] | 669 | src/armnn/test/TestNameOnlyLayerVisitor.cpp |
| 670 | src/armnn/test/TestNameOnlyLayerVisitor.hpp |
FrancisMurtagh | f08876f | 2019-02-04 15:41:17 +0000 | [diff] [blame] | 671 | src/armnn/test/TestNameAndDescriptorLayerVisitor.hpp |
| 672 | src/armnn/test/TestNameAndDescriptorLayerVisitor.cpp |
Matteo Martincigh | bf0e722 | 2019-06-20 17:17:45 +0100 | [diff] [blame] | 673 | src/armnn/test/TestUtils.cpp |
| 674 | src/armnn/test/TestUtils.hpp |
Derek Lamberti | 4d4e0e2 | 2020-02-19 13:30:47 +0000 | [diff] [blame] | 675 | src/armnn/test/UtilityTests.cpp |
David Beck | f98d21a | 2018-10-26 16:03:03 +0100 | [diff] [blame] | 676 | src/armnn/test/UnitTests.cpp |
| 677 | src/armnn/test/UnitTests.hpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 678 | src/armnn/test/UtilsTests.cpp |
Aron Virginas-Tar | 48623a0 | 2019-10-22 10:00:28 +0100 | [diff] [blame] | 679 | src/armnnUtils/test/QuantizeHelperTest.cpp |
Matthew Bentham | 4057d91 | 2019-01-21 15:45:51 +0000 | [diff] [blame] | 680 | src/armnnUtils/test/PrototxtConversionsTest.cpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 681 | src/armnnUtils/test/ParserHelperTest.cpp |
Narumol Prangnawarat | 0280785 | 2019-09-11 16:43:09 +0100 | [diff] [blame] | 682 | src/armnnUtils/test/TensorUtilsTest.cpp |
Narumol Prangnawarat | 7be47ef | 2019-09-27 18:00:11 +0100 | [diff] [blame] | 683 | src/profiling/test/BufferTests.cpp |
Keith Davis | 3201eea | 2019-10-24 17:30:41 +0100 | [diff] [blame] | 684 | src/profiling/test/FileOnlyProfilingDecoratorTests.cpp |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 685 | src/profiling/test/PrintPacketHeaderHandler.cpp |
| 686 | src/profiling/test/PrintPacketHeaderHandler.hpp |
Aron Virginas-Tar | dfa1477 | 2019-09-24 18:24:47 +0100 | [diff] [blame] | 687 | src/profiling/test/ProfilingConnectionDumpToFileDecoratorTests.cpp |
Narumol Prangnawarat | 15effd8 | 2019-10-22 14:17:11 +0100 | [diff] [blame] | 688 | src/profiling/test/ProfilingGuidTest.cpp |
Jim Flynn | 6406355 | 2020-02-14 10:18:08 +0000 | [diff] [blame] | 689 | src/profiling/test/ProfilingMocks.hpp |
Francis Murtagh | 1f7db45 | 2019-08-14 09:49:34 +0100 | [diff] [blame] | 690 | src/profiling/test/ProfilingTests.cpp |
Matteo Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame] | 691 | src/profiling/test/ProfilingTests.hpp |
Narumol Prangnawarat | df31cfe | 2019-11-22 11:26:06 +0000 | [diff] [blame] | 692 | src/profiling/test/ProfilingTestUtils.cpp |
| 693 | src/profiling/test/ProfilingTestUtils.hpp |
Jim Flynn | 01d0281 | 2020-04-29 21:12:13 +0100 | [diff] [blame] | 694 | src/profiling/test/RequestCountersPacketHandler.cpp |
| 695 | src/profiling/test/RequestCountersPacketHandler.hpp |
Ferran Balaguer | af5c46b | 2019-08-30 15:49:15 +0100 | [diff] [blame] | 696 | src/profiling/test/SendCounterPacketTests.cpp |
Matteo Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame] | 697 | src/profiling/test/SendCounterPacketTests.hpp |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 698 | src/profiling/test/TestTimelinePacketHandler.cpp |
| 699 | src/profiling/test/TestTimelinePacketHandler.hpp |
| 700 | src/profiling/test/TimelineModel.cpp |
| 701 | src/profiling/test/TimelineModel.hpp |
Sadik Armagan | 7bbdf9d | 2019-10-24 10:26:05 +0100 | [diff] [blame] | 702 | src/profiling/test/SendTimelinePacketTests.cpp |
Matteo Martincigh | 0aed4f9 | 2019-10-01 14:25:34 +0100 | [diff] [blame] | 703 | src/profiling/test/TimelinePacketTests.cpp |
Matteo Martincigh | 830101c | 2019-10-22 11:07:45 +0100 | [diff] [blame] | 704 | src/profiling/test/TimelineUtilityMethodsTests.cpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 705 | ) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 706 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 707 | if(ARMNNREF) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 708 | list(APPEND unittest_sources |
| 709 | src/armnn/test/DebugCallbackTest.cpp |
| 710 | src/armnn/test/QuantizerTest.cpp |
| 711 | src/armnn/test/RuntimeTests.cpp |
| 712 | src/armnn/test/RuntimeTests.hpp |
| 713 | ) |
| 714 | endif() |
| 715 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 716 | if(BUILD_TF_PARSER AND ARMNNREF) |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 717 | list(APPEND unittest_sources |
| 718 | src/armnnTfParser/test/Activations.cpp |
| 719 | src/armnnTfParser/test/Addition.cpp |
Ferran Balaguer | fbdad03 | 2018-12-28 18:15:24 +0000 | [diff] [blame] | 720 | src/armnnTfParser/test/AddN.cpp |
narpra01 | 6f37f83 | 2018-12-21 18:30:00 +0000 | [diff] [blame] | 721 | src/armnnTfParser/test/Assert.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 722 | src/armnnTfParser/test/BiasAdd.cpp |
| 723 | src/armnnTfParser/test/BroadcastForAdd.cpp |
| 724 | src/armnnTfParser/test/Convolution2d.cpp |
| 725 | src/armnnTfParser/test/Concat.cpp |
| 726 | src/armnnTfParser/test/ConcatOfConcats.cpp |
| 727 | src/armnnTfParser/test/DepthwiseConvolution2d.cpp |
jimfly01 | 84c70e6 | 2018-12-19 13:14:46 +0000 | [diff] [blame] | 728 | src/armnnTfParser/test/Equal.cpp |
Conor Kennedy | c2130a0 | 2018-12-05 11:05:54 +0000 | [diff] [blame] | 729 | src/armnnTfParser/test/ExpandDims.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 730 | src/armnnTfParser/test/FusedBatchNorm.cpp |
FrancisMurtagh | 94412af | 2019-01-24 10:53:39 +0000 | [diff] [blame] | 731 | src/armnnTfParser/test/Gather.cpp |
jimfly01 | a06bf31 | 2018-12-18 16:24:51 +0000 | [diff] [blame] | 732 | src/armnnTfParser/test/Greater.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 733 | src/armnnTfParser/test/Identity.cpp |
| 734 | src/armnnTfParser/test/LocalResponseNormalization.cpp |
Sadik Armagan | 975c09a | 2018-12-04 10:02:08 +0000 | [diff] [blame] | 735 | src/armnnTfParser/test/Maximum.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 736 | src/armnnTfParser/test/MaximumForLeakyRelu.cpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 737 | src/armnnTfParser/test/Mean.cpp |
Nattapat Chaimanowong | 24df822 | 2018-12-04 13:47:02 +0000 | [diff] [blame] | 738 | src/armnnTfParser/test/Minimum.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 739 | src/armnnTfParser/test/Multiplication.cpp |
jimfly01 | f6ba747 | 2018-12-04 10:09:52 +0000 | [diff] [blame] | 740 | src/armnnTfParser/test/Pad.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 741 | src/armnnTfParser/test/MultiOutput.cpp |
| 742 | src/armnnTfParser/test/PassThru.cpp |
| 743 | src/armnnTfParser/test/Pooling.cpp |
saoste01 | bbd4061 | 2018-08-28 15:41:51 +0100 | [diff] [blame] | 744 | src/armnnTfParser/test/RealDiv.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 745 | src/armnnTfParser/test/Reshape.cpp |
| 746 | src/armnnTfParser/test/ResizeBilinear.cpp |
Mohamed Nour Abouelseoud | 7a8892f | 2019-01-09 14:19:58 +0000 | [diff] [blame] | 747 | src/armnnTfParser/test/Rsqrt.cpp |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 748 | src/armnnTfParser/test/Shape.cpp |
| 749 | src/armnnTfParser/test/Softmax.cpp |
| 750 | src/armnnTfParser/test/TestDependencies.cpp |
| 751 | src/armnnTfParser/test/FullyConnected.cpp |
| 752 | src/armnnTfParser/test/Constant.cpp |
| 753 | src/armnnTfParser/test/TestMultiInputsOutputs.cpp |
Sadik Armagan | 2ad6cb4 | 2018-12-27 11:23:44 +0000 | [diff] [blame] | 754 | src/armnnTfParser/test/Split.cpp |
jimfly01 | 23be07e | 2018-12-04 17:47:22 +0000 | [diff] [blame] | 755 | src/armnnTfParser/test/Squeeze.cpp |
Sadik Armagan | 48d7093 | 2020-02-18 15:18:27 +0000 | [diff] [blame] | 756 | src/armnnTfParser/test/Stack.cpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 757 | src/armnnTfParser/test/Sub.cpp |
Georgios Pinitas | 5e90aab | 2020-02-14 14:46:51 +0000 | [diff] [blame] | 758 | src/armnnTfParser/test/StridedSlice.cpp |
Sang-Hoon Park | dd3f71b | 2020-02-18 11:27:35 +0000 | [diff] [blame] | 759 | src/armnnTfParser/test/Transpose.cpp |
Ferran Balaguer | 51dd62f | 2019-01-11 19:29:18 +0000 | [diff] [blame] | 760 | ) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 761 | |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 762 | endif() |
| 763 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 764 | if(BUILD_TF_LITE_PARSER AND ARMNNREF) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 765 | list(APPEND unittest_sources |
Sadik Armagan | 479045b | 2018-10-01 11:51:37 +0100 | [diff] [blame] | 766 | src/armnnTfLiteParser/test/Activations.cpp |
Bruno Goncalves | d4ac6a4 | 2018-12-18 12:56:22 -0200 | [diff] [blame] | 767 | src/armnnTfLiteParser/test/Addition.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 768 | src/armnnTfLiteParser/test/AvgPool2D.cpp |
Bruno Goncalves | db947e2 | 2019-02-08 18:52:21 -0200 | [diff] [blame] | 769 | src/armnnTfLiteParser/test/BatchToSpaceND.cpp |
Sadik Armagan | 479045b | 2018-10-01 11:51:37 +0100 | [diff] [blame] | 770 | src/armnnTfLiteParser/test/Concatenation.cpp |
Bruno Goncalves | 3d7efe9 | 2018-12-27 14:21:43 -0200 | [diff] [blame] | 771 | src/armnnTfLiteParser/test/Constant.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 772 | src/armnnTfLiteParser/test/Conv2D.cpp |
| 773 | src/armnnTfLiteParser/test/DepthwiseConvolution2D.cpp |
Finn Williams | ed66d14 | 2019-12-06 09:55:55 +0000 | [diff] [blame] | 774 | src/armnnTfLiteParser/test/Dequantize.cpp |
keidav01 | 1b3e2ea | 2019-02-21 10:07:37 +0000 | [diff] [blame] | 775 | src/armnnTfLiteParser/test/DetectionPostProcess.cpp |
Darshan Patel | 42b3d7d | 2020-05-25 22:30:07 +0530 | [diff] [blame] | 776 | src/armnnTfLiteParser/test/Div.cpp |
Ryan OShea | eb1f9cf | 2020-05-21 17:07:40 +0100 | [diff] [blame] | 777 | src/armnnTfLiteParser/test/Exp.cpp |
Sadik Armagan | 8853c1f | 2018-10-22 09:04:18 +0100 | [diff] [blame] | 778 | src/armnnTfLiteParser/test/FullyConnected.cpp |
Matthew Jackson | 28c9457 | 2019-07-18 10:47:03 +0100 | [diff] [blame] | 779 | src/armnnTfLiteParser/test/L2Normalization.cpp |
Sadik Armagan | 12239e7 | 2020-05-27 11:06:17 +0100 | [diff] [blame] | 780 | src/armnnTfLiteParser/test/LeakyRelu.cpp |
Bruno Goncalves | b8d805e | 2019-02-12 22:57:13 -0200 | [diff] [blame] | 781 | src/armnnTfLiteParser/test/Maximum.cpp |
Nattapat Chaimanowong | b66504b | 2018-10-17 15:19:14 +0100 | [diff] [blame] | 782 | src/armnnTfLiteParser/test/MaxPool2D.cpp |
Bruno Goncalves | 2235cee | 2018-12-19 12:51:45 -0200 | [diff] [blame] | 783 | src/armnnTfLiteParser/test/Mean.cpp |
Bruno Goncalves | 8f6d7a7 | 2019-02-12 22:58:18 -0200 | [diff] [blame] | 784 | src/armnnTfLiteParser/test/Minimum.cpp |
Bruno Goncalves | f803f78 | 2018-12-18 13:40:30 -0200 | [diff] [blame] | 785 | src/armnnTfLiteParser/test/Multiplication.cpp |
Darshan Patel | 83fcf98 | 2020-05-26 22:22:42 +0530 | [diff] [blame] | 786 | src/armnnTfLiteParser/test/Neg.cpp |
Matthew Jackson | bcca1f4 | 2019-07-16 11:39:21 +0100 | [diff] [blame] | 787 | src/armnnTfLiteParser/test/Pack.cpp |
Bruno Goncalves | 6c2355b | 2018-12-19 12:52:01 -0200 | [diff] [blame] | 788 | src/armnnTfLiteParser/test/Pad.cpp |
Sadik Armagan | 479045b | 2018-10-01 11:51:37 +0100 | [diff] [blame] | 789 | src/armnnTfLiteParser/test/Reshape.cpp |
Bruno Goncalves | 3f58ddb | 2019-02-07 18:40:11 -0200 | [diff] [blame] | 790 | src/armnnTfLiteParser/test/ResizeBilinear.cpp |
Sadik Armagan | a3b31f0 | 2019-12-05 09:08:53 +0000 | [diff] [blame] | 791 | src/armnnTfLiteParser/test/ResizeNearestNeighbor.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 792 | src/armnnTfLiteParser/test/Softmax.cpp |
Bruno Goncalves | baded14 | 2019-02-08 19:02:48 -0200 | [diff] [blame] | 793 | src/armnnTfLiteParser/test/SpaceToBatchND.cpp |
josh minor | ba424d2 | 2019-11-13 10:55:17 -0600 | [diff] [blame] | 794 | src/armnnTfLiteParser/test/Slice.cpp |
Nina Drozd | 0324f48 | 2019-04-08 10:52:10 +0100 | [diff] [blame] | 795 | src/armnnTfLiteParser/test/Split.cpp |
Ryan OShea | 8670473 | 2020-05-26 11:41:04 +0100 | [diff] [blame] | 796 | src/armnnTfLiteParser/test/SplitV.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 797 | src/armnnTfLiteParser/test/Squeeze.cpp |
Bruno Goncalves | 451d95b | 2019-02-12 22:59:22 -0200 | [diff] [blame] | 798 | src/armnnTfLiteParser/test/StridedSlice.cpp |
Nina Drozd | 0324f48 | 2019-04-08 10:52:10 +0100 | [diff] [blame] | 799 | src/armnnTfLiteParser/test/Sub.cpp |
Matthew Jackson | 74bf7da | 2019-08-16 16:51:42 +0100 | [diff] [blame] | 800 | src/armnnTfLiteParser/test/TransposeConv.cpp |
Keith Davis | 4cd29a0 | 2019-09-09 14:49:20 +0100 | [diff] [blame] | 801 | src/armnnTfLiteParser/test/Transpose.cpp |
Nina Drozd | 200e380 | 2019-04-15 09:47:39 +0100 | [diff] [blame] | 802 | src/armnnTfLiteParser/test/Unpack.cpp |
Aron Virginas-Tar | c975f92 | 2019-10-23 17:38:17 +0100 | [diff] [blame] | 803 | src/armnnTfLiteParser/test/Unsupported.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 804 | src/armnnTfLiteParser/test/LoadModel.cpp |
| 805 | src/armnnTfLiteParser/test/GetBuffer.cpp |
| 806 | src/armnnTfLiteParser/test/OutputShapeOfSqueeze.cpp |
| 807 | src/armnnTfLiteParser/test/InputOutputTensorNames.cpp |
| 808 | src/armnnTfLiteParser/test/GetTensorIds.cpp |
| 809 | src/armnnTfLiteParser/test/GetSubgraphInputsOutputs.cpp |
| 810 | src/armnnTfLiteParser/test/GetInputsOutputs.cpp |
| 811 | ) |
Rob Hughes | a91479c | 2020-01-07 09:40:12 +0000 | [diff] [blame] | 812 | |
| 813 | # Generate SchemaText.cpp file which contains the TfLite schema text as a |
Rob Hughes | ff3c426 | 2019-12-20 17:43:16 +0000 | [diff] [blame] | 814 | # static C-array of bytes. This is needed at runtime for TfLite parser tests. |
| 815 | add_custom_command( |
| 816 | OUTPUT SchemaText.cpp |
| 817 | COMMAND cp ${TF_LITE_SCHEMA_INCLUDE_PATH}/schema.fbs g_TfLiteSchemaText |
| 818 | COMMAND xxd -i g_TfLiteSchemaText SchemaText.cpp |
| 819 | WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
Rob Hughes | a91479c | 2020-01-07 09:40:12 +0000 | [diff] [blame] | 820 | DEPENDS ${TF_LITE_SCHEMA_INCLUDE_PATH}/schema.fbs |
Rob Hughes | ff3c426 | 2019-12-20 17:43:16 +0000 | [diff] [blame] | 821 | ) |
| 822 | list(APPEND unittest_sources ${CMAKE_CURRENT_BINARY_DIR}/SchemaText.cpp) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 823 | endif() |
| 824 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 825 | if(BUILD_CAFFE_PARSER AND ARMNNREF) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 826 | list(APPEND unittest_sources |
| 827 | src/armnnCaffeParser/test/TestAdd.cpp |
| 828 | src/armnnCaffeParser/test/TestConcat.cpp |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 829 | src/armnnCaffeParser/test/TestConvolution.cpp |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 830 | src/armnnCaffeParser/test/TestDropout.cpp |
| 831 | src/armnnCaffeParser/test/TestInputs.cpp |
| 832 | src/armnnCaffeParser/test/TestMul.cpp |
| 833 | src/armnnCaffeParser/test/TestPooling2d.cpp |
| 834 | src/armnnCaffeParser/test/TestInPlace.cpp |
| 835 | src/armnnCaffeParser/test/TestMultiInputsOutputs.cpp |
| 836 | src/armnnCaffeParser/test/TestSplit.cpp |
| 837 | ) |
| 838 | endif() |
| 839 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 840 | if(BUILD_ONNX_PARSER AND ARMNNREF) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 841 | list(APPEND unittest_sources |
Ryan OShea | ed27ee7 | 2020-04-22 16:37:29 +0100 | [diff] [blame] | 842 | src/armnnOnnxParser/test/Addition.cpp |
| 843 | src/armnnOnnxParser/test/BatchNorm.cpp |
Finn Williams | 7ee5d2c | 2020-03-27 11:11:50 +0000 | [diff] [blame] | 844 | src/armnnOnnxParser/test/Clip.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 845 | src/armnnOnnxParser/test/Const.cpp |
Ryan OShea | ed27ee7 | 2020-04-22 16:37:29 +0100 | [diff] [blame] | 846 | src/armnnOnnxParser/test/Constructor.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 847 | src/armnnOnnxParser/test/Conv2D.cpp |
Ryan OShea | ed27ee7 | 2020-04-22 16:37:29 +0100 | [diff] [blame] | 848 | src/armnnOnnxParser/test/CreateNetwork.cpp |
| 849 | src/armnnOnnxParser/test/DepthConv.cpp |
| 850 | src/armnnOnnxParser/test/Flatten.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 851 | src/armnnOnnxParser/test/FullyConnected.cpp |
| 852 | src/armnnOnnxParser/test/GetInputsOutputs.cpp |
Ryan OShea | ed27ee7 | 2020-04-22 16:37:29 +0100 | [diff] [blame] | 853 | src/armnnOnnxParser/test/Pooling.cpp |
| 854 | src/armnnOnnxParser/test/ProtoxtFixture.cpp |
| 855 | src/armnnOnnxParser/test/Relu.cpp |
| 856 | src/armnnOnnxParser/test/Reshape.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 857 | ) |
| 858 | endif() |
| 859 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 860 | if(BUILD_ARMNN_QUANTIZER AND ARMNNREF) |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 861 | list(APPEND unittest_sources |
| 862 | src/armnnQuantizer/test/QuantizationDataSetTests.cpp |
| 863 | ) |
| 864 | endif() |
| 865 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 866 | if(BUILD_ARMNN_SERIALIZER AND ARMNNREF) |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 867 | enable_language(ASM) |
| 868 | list(APPEND unittest_sources |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 869 | src/armnnSerializer/test/ActivationSerializationTests.cpp |
| 870 | src/armnnSerializer/test/SerializerTests.cpp |
FinnWilliamsArm | 4ffcc8f | 2019-09-05 14:34:20 +0100 | [diff] [blame] | 871 | src/armnnDeserializer/test/DeserializeAbs.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 872 | src/armnnDeserializer/test/DeserializeActivation.cpp |
| 873 | src/armnnDeserializer/test/DeserializeAdd.cpp |
| 874 | src/armnnDeserializer/test/DeserializeBatchToSpaceNd.cpp |
| 875 | src/armnnDeserializer/test/DeserializeBatchNormalization.cpp |
Aron Virginas-Tar | 422f2fb | 2019-10-21 14:09:11 +0100 | [diff] [blame] | 876 | src/armnnDeserializer/test/DeserializeComparison.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 877 | src/armnnDeserializer/test/DeserializeConstant.cpp |
| 878 | src/armnnDeserializer/test/DeserializeConvolution2d.cpp |
Aron Virginas-Tar | 11b2eca | 2019-09-24 11:01:51 +0100 | [diff] [blame] | 879 | src/armnnDeserializer/test/DeserializeDepthToSpace.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 880 | src/armnnDeserializer/test/DeserializeDivision.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 881 | src/armnnDeserializer/test/DeserializeFloor.cpp |
| 882 | src/armnnDeserializer/test/DeserializeFullyConnected.cpp |
| 883 | src/armnnDeserializer/test/DeserializeGather.cpp |
Aron Virginas-Tar | 92bbcae | 2019-10-09 10:36:34 +0100 | [diff] [blame] | 884 | src/armnnDeserializer/test/DeserializeInstanceNormalization.cpp |
Ferran Balaguer | 0dcffec | 2019-06-18 16:25:06 +0100 | [diff] [blame] | 885 | src/armnnDeserializer/test/DeserializeL2Normalization.cpp |
Aron Virginas-Tar | c949ab5 | 2019-10-14 16:43:13 +0100 | [diff] [blame] | 886 | src/armnnDeserializer/test/DeserializeLogSoftmax.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 887 | src/armnnDeserializer/test/DeserializeMean.cpp |
| 888 | src/armnnDeserializer/test/DeserializeMultiplication.cpp |
| 889 | src/armnnDeserializer/test/DeserializeNormalization.cpp |
| 890 | src/armnnDeserializer/test/DeserializePad.cpp |
| 891 | src/armnnDeserializer/test/DeserializePermute.cpp |
| 892 | src/armnnDeserializer/test/DeserializePooling2d.cpp |
| 893 | src/armnnDeserializer/test/DeserializeReshape.cpp |
| 894 | src/armnnDeserializer/test/DeserializeResizeBilinear.cpp |
| 895 | src/armnnDeserializer/test/DeserializeRsqrt.cpp |
Aron Virginas-Tar | a2f4b4b | 2019-09-20 11:21:14 +0100 | [diff] [blame] | 896 | src/armnnDeserializer/test/DeserializeSlice.cpp |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 897 | src/armnnDeserializer/test/DeserializeSpaceToBatchNd.cpp |
| 898 | src/armnnDeserializer/test/DeserializeStridedSlice.cpp |
| 899 | src/armnnDeserializer/test/DeserializeSubtraction.cpp |
| 900 | src/armnnDeserializer/test/ParserFlatbuffersSerializeFixture.hpp |
| 901 | src/armnnDeserializer/test/SchemaSerialize.s |
| 902 | ) |
Derek Lamberti | 0028d1b | 2019-02-20 13:57:42 +0000 | [diff] [blame] | 903 | set_source_files_properties(src/armnnDeserializer/test/SchemaSerialize.s PROPERTIES COMPILE_FLAGS "-x assembler-with-cpp") |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 904 | endif() |
| 905 | |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 906 | if(BUILD_GATORD_MOCK) |
| 907 | list(APPEND unittest_sources |
| 908 | tests/profiling/gatordmock/tests/GatordMockTests.cpp |
| 909 | ) |
| 910 | endif() |
| 911 | |
Sadik Armagan | 6f86b69 | 2020-03-09 11:04:32 +0000 | [diff] [blame] | 912 | if(BUILD_TIMELINE_DECODER) |
| 913 | list(APPEND unittest_sources |
Éanna Ó Catháin | 0de4712 | 2020-04-01 15:40:12 +0100 | [diff] [blame] | 914 | src/timelineDecoder/tests/JSONTimelineDecoderTests.cpp |
Sadik Armagan | 6f86b69 | 2020-03-09 11:04:32 +0000 | [diff] [blame] | 915 | src/timelineDecoder/tests/TimelineTests.cpp |
| 916 | ) |
| 917 | endif() |
| 918 | |
Finn Williams | 2ed809c | 2020-04-20 21:21:07 +0100 | [diff] [blame] | 919 | if(BUILD_BASE_PIPE_SERVER) |
| 920 | list(APPEND unittest_sources |
| 921 | profiling/server/src/basePipeServer/tests/BasePipeServerTests.cpp |
| 922 | ) |
| 923 | endif() |
| 924 | |
Matteo Martincigh | 4423ac7 | 2018-10-11 17:39:30 +0100 | [diff] [blame] | 925 | foreach(lib ${armnnUnitTestLibraries}) |
Rob Hughes | 721b82f | 2019-11-15 09:04:17 +0000 | [diff] [blame] | 926 | message(STATUS "Adding object library dependency to UnitTests: ${lib}") |
Matteo Martincigh | 4423ac7 | 2018-10-11 17:39:30 +0100 | [diff] [blame] | 927 | list(APPEND unittest_sources $<TARGET_OBJECTS:${lib}>) |
| 928 | endforeach() |
| 929 | |
| 930 | add_executable(UnitTests ${unittest_sources}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 931 | target_include_directories(UnitTests PRIVATE src/armnn) |
| 932 | target_include_directories(UnitTests PRIVATE src/armnnUtils) |
Aron Virginas-Tar | c9cc804 | 2018-11-01 16:15:57 +0000 | [diff] [blame] | 933 | target_include_directories(UnitTests PRIVATE src/backends) |
Matteo Martincigh | 6db5f20 | 2019-09-05 12:02:04 +0100 | [diff] [blame] | 934 | target_include_directories(UnitTests PRIVATE src/profiling) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 935 | |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 936 | if(VALGRIND_FOUND) |
| 937 | if(HEAP_PROFILING OR LEAK_CHECKING) |
Rob Hughes | 721b82f | 2019-11-15 09:04:17 +0000 | [diff] [blame] | 938 | message(STATUS "Valgrind is disabled for heap profiling and leak checking builds.") |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 939 | else() |
| 940 | # Valgrind works with gperftools version number <= 2.4 |
| 941 | target_compile_definitions(UnitTests PRIVATE "WITH_VALGRIND=1") |
| 942 | endif() |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 943 | endif() |
| 944 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 945 | target_link_libraries(UnitTests ${CMAKE_THREAD_LIBS_INIT}) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 946 | target_link_libraries(UnitTests ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}) |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 947 | |
Matteo Martincigh | 4423ac7 | 2018-10-11 17:39:30 +0100 | [diff] [blame] | 948 | target_link_libraries(UnitTests armnn) |
| 949 | target_link_libraries(UnitTests armnnUtils) |
| 950 | |
surmeh01 | bceff2f | 2018-03-29 16:29:27 +0100 | [diff] [blame] | 951 | if(BUILD_TF_PARSER) |
| 952 | target_link_libraries(UnitTests armnnTfParser) |
| 953 | endif() |
| 954 | |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 955 | if(BUILD_GATORD_MOCK) |
| 956 | target_link_libraries(UnitTests gatordMockService) |
Sadik Armagan | 6f86b69 | 2020-03-09 11:04:32 +0000 | [diff] [blame] | 957 | endif() |
| 958 | |
| 959 | if(BUILD_TIMELINE_DECODER) |
Finn Williams | 8a2b468 | 2020-02-26 10:25:26 +0000 | [diff] [blame] | 960 | target_link_libraries(UnitTests timelineDecoder) |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 961 | endif() |
| 962 | |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 963 | if(BUILD_TF_LITE_PARSER) |
| 964 | target_include_directories(UnitTests SYSTEM PRIVATE "${TF_LITE_SCHEMA_INCLUDE_PATH}") |
| 965 | target_include_directories(UnitTests SYSTEM PRIVATE "${FLATBUFFERS_INCLUDE_PATH}") |
| 966 | target_link_libraries(UnitTests armnnTfLiteParser) |
| 967 | endif() |
| 968 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 969 | if(BUILD_CAFFE_PARSER) |
| 970 | target_link_libraries(UnitTests armnnCaffeParser) |
| 971 | endif() |
| 972 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 973 | if(BUILD_ARMNN_SERIALIZER AND ARMNNREF) |
Mike Kelly | 8c1701a | 2019-02-11 17:01:27 +0000 | [diff] [blame] | 974 | target_include_directories(UnitTests SYSTEM PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src/armnnSerializer) |
Ruomei Yan | db7c391 | 2019-03-08 17:50:25 +0000 | [diff] [blame] | 975 | target_include_directories(UnitTests SYSTEM PRIVATE "${FLATBUFFERS_INCLUDE_PATH}") |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 976 | target_link_libraries(UnitTests armnnSerializer) |
| 977 | endif() |
| 978 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 979 | if(BUILD_ARMNN_QUANTIZER AND ARMNNREF) |
Nina Drozd | 59e15b0 | 2019-04-25 15:45:20 +0100 | [diff] [blame] | 980 | target_include_directories(UnitTests SYSTEM PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src/armnnQuantizer) |
| 981 | target_include_directories(UnitTests SYSTEM PRIVATE "${FLATBUFFERS_INCLUDE_PATH}") |
| 982 | target_link_libraries(UnitTests armnnQuantizer armnnSerializer) |
| 983 | endif() |
| 984 | |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 985 | if(BUILD_ONNX_PARSER) |
| 986 | target_link_libraries(UnitTests armnnOnnxParser) |
| 987 | endif() |
| 988 | |
Finn Williams | 2ed809c | 2020-04-20 21:21:07 +0100 | [diff] [blame] | 989 | if(BUILD_BASE_PIPE_SERVER) |
| 990 | target_link_libraries(UnitTests armnnBasePipeServer) |
| 991 | endif() |
| 992 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 993 | addDllCopyCommands(UnitTests) |
| 994 | endif() |
Nattapat Chaimanowong | 4fbae33 | 2019-02-14 15:28:02 +0000 | [diff] [blame] | 995 | |
Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 996 | if (BUILD_ARMNN_SERIALIZER AND (BUILD_TF_PARSER OR BUILD_TF_LITE_PARSER OR BUILD_ONNX_PARSER OR BUILD_CAFFE_PARSER) AND ARMNNREF) |
Nattapat Chaimanowong | 4fbae33 | 2019-02-14 15:28:02 +0000 | [diff] [blame] | 997 | set(ArmnnConverter_sources |
| 998 | src/armnnConverter/ArmnnConverter.cpp) |
| 999 | |
| 1000 | add_executable_ex(ArmnnConverter ${ArmnnConverter_sources}) |
| 1001 | target_include_directories(ArmnnConverter PRIVATE src/armnn) |
| 1002 | target_include_directories(ArmnnConverter PRIVATE src/armnnUtils) |
| 1003 | |
Sadik Armagan | 232cfc2 | 2019-03-13 18:33:10 +0000 | [diff] [blame] | 1004 | if(BUILD_CAFFE_PARSER) |
| 1005 | target_link_libraries(ArmnnConverter armnnCaffeParser) |
| 1006 | endif() |
| 1007 | |
| 1008 | if(BUILD_ONNX_PARSER) |
| 1009 | target_link_libraries(ArmnnConverter armnnOnnxParser) |
| 1010 | endif() |
| 1011 | |
| 1012 | if(BUILD_TF_PARSER) |
| 1013 | target_link_libraries(ArmnnConverter armnnTfParser) |
| 1014 | endif() |
| 1015 | |
| 1016 | if(BUILD_TF_LITE_PARSER) |
| 1017 | target_link_libraries(ArmnnConverter armnnTfLiteParser) |
| 1018 | endif() |
| 1019 | |
Nattapat Chaimanowong | 4fbae33 | 2019-02-14 15:28:02 +0000 | [diff] [blame] | 1020 | target_link_libraries(ArmnnConverter armnnSerializer) |
| 1021 | |
| 1022 | target_link_libraries(ArmnnConverter armnn) |
| 1023 | target_link_libraries(ArmnnConverter ${CMAKE_THREAD_LIBS_INIT}) |
| 1024 | target_link_libraries(ArmnnConverter |
| 1025 | ${Boost_SYSTEM_LIBRARY} |
| 1026 | ${Boost_FILESYSTEM_LIBRARY} |
| 1027 | ${Boost_PROGRAM_OPTIONS_LIBRARY}) |
| 1028 | addDllCopyCommands(ArmnnConverter) |
Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 1029 | endif() |
Colm Donelan | 366023f | 2019-09-05 10:03:56 +0100 | [diff] [blame] | 1030 | |
Finn Williams | 2ed809c | 2020-04-20 21:21:07 +0100 | [diff] [blame] | 1031 | if(BUILD_BASE_PIPE_SERVER) |
| 1032 | add_subdirectory(profiling/server/src/basePipeServer) |
| 1033 | endif() |
| 1034 | |
Jim Flynn | c179878 | 2020-04-23 17:56:37 +0100 | [diff] [blame] | 1035 | if(BUILD_TIMELINE_DECODER) |
Finn Williams | 8a2b468 | 2020-02-26 10:25:26 +0000 | [diff] [blame] | 1036 | add_subdirectory(src/timelineDecoder) |
Jim Flynn | c179878 | 2020-04-23 17:56:37 +0100 | [diff] [blame] | 1037 | endif() |
Finn Williams | 8a2b468 | 2020-02-26 10:25:26 +0000 | [diff] [blame] | 1038 | |
Finn Williams | 2ed809c | 2020-04-20 21:21:07 +0100 | [diff] [blame] | 1039 | if(BUILD_GATORD_MOCK AND NOT BUILD_BASE_PIPE_SERVER) |
| 1040 | message(ERROR, "In order to build GatordMock you must set BUILD_BASE_PIPE_SERVER = YES") |
| 1041 | endif() |
| 1042 | |
| 1043 | if(BUILD_GATORD_MOCK AND NOT BUILD_TIMELINE_DECODER) |
| 1044 | message(ERROR, "In order to build GatordMock you must set BUILD_TIMELINE_DECODER = YES") |
| 1045 | endif() |
| 1046 | |
Jim Flynn | c179878 | 2020-04-23 17:56:37 +0100 | [diff] [blame] | 1047 | if(BUILD_GATORD_MOCK) |
Colm Donelan | 366023f | 2019-09-05 10:03:56 +0100 | [diff] [blame] | 1048 | set(gatord_mock_sources) |
| 1049 | list(APPEND gatord_mock_sources |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 1050 | tests/profiling/gatordmock/CommandFileParser.hpp |
| 1051 | tests/profiling/gatordmock/CommandFileParser.cpp |
| 1052 | tests/profiling/gatordmock/CommandLineProcessor.hpp |
| 1053 | tests/profiling/gatordmock/CommandLineProcessor.cpp |
| 1054 | tests/profiling/gatordmock/GatordMockService.hpp |
| 1055 | tests/profiling/gatordmock/GatordMockService.cpp |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 1056 | tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp |
| 1057 | tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp |
Colm Donelan | b682d84 | 2019-10-16 12:24:20 +0100 | [diff] [blame] | 1058 | tests/profiling/gatordmock/PeriodicCounterSelectionResponseHandler.cpp |
| 1059 | tests/profiling/gatordmock/PeriodicCounterSelectionResponseHandler.hpp |
Matteo Martincigh | cdfb941 | 2019-11-08 11:23:06 +0000 | [diff] [blame] | 1060 | tests/profiling/gatordmock/StreamMetadataCommandHandler.cpp |
| 1061 | tests/profiling/gatordmock/StreamMetadataCommandHandler.hpp |
Finn Williams | d7fcafa | 2020-04-23 17:55:18 +0100 | [diff] [blame] | 1062 | tests/profiling/gatordmock/StubCommandHandler.hpp |
Colm Donelan | 366023f | 2019-09-05 10:03:56 +0100 | [diff] [blame] | 1063 | ) |
| 1064 | |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 1065 | add_library_ex(gatordMockService STATIC ${gatord_mock_sources}) |
Finn Williams | 0c8cb99 | 2020-05-07 10:38:15 +0100 | [diff] [blame] | 1066 | |
| 1067 | target_include_directories(gatordMockService PRIVATE profiling/common/include |
| 1068 | profiling/server/src/basePipeServer |
| 1069 | src/armnnUtils |
| 1070 | src/profiling |
| 1071 | src/timelineDecoder) |
| 1072 | |
| 1073 | if(BUILD_UNIT_TESTS) |
| 1074 | target_include_directories(UnitTests PRIVATE tests/profiling/gatordmock) |
| 1075 | target_include_directories(UnitTests PRIVATE src/backends/backendsCommon/test) |
| 1076 | endif() |
Colm Donelan | 366023f | 2019-09-05 10:03:56 +0100 | [diff] [blame] | 1077 | |
Rob Hughes | 5edefa0 | 2020-01-10 09:15:30 +0000 | [diff] [blame] | 1078 | add_executable_ex(GatordMock tests/profiling/gatordmock/GatordMockMain.cpp) |
Finn Williams | 0c8cb99 | 2020-05-07 10:38:15 +0100 | [diff] [blame] | 1079 | |
| 1080 | target_include_directories(GatordMock PRIVATE profiling/common/include |
| 1081 | profiling/server/src/basePipeServer |
Rob Hughes | bc873d2 | 2020-05-20 13:11:37 +0100 | [diff] [blame] | 1082 | src/armnnUtils |
Finn Williams | 0c8cb99 | 2020-05-07 10:38:15 +0100 | [diff] [blame] | 1083 | src/profiling |
| 1084 | src/timelineDecoder) |
Colm Donelan | a21620d | 2019-10-11 13:09:49 +0100 | [diff] [blame] | 1085 | |
Rob Hughes | 5edefa0 | 2020-01-10 09:15:30 +0000 | [diff] [blame] | 1086 | target_link_libraries(GatordMock |
Finn Williams | 0c8cb99 | 2020-05-07 10:38:15 +0100 | [diff] [blame] | 1087 | armnn |
| 1088 | armnnBasePipeServer |
| 1089 | timelineDecoder |
| 1090 | gatordMockService |
| 1091 | ${Boost_PROGRAM_OPTIONS_LIBRARY} |
| 1092 | ${Boost_SYSTEM_LIBRARY}) |
Colm Donelan | 366023f | 2019-09-05 10:03:56 +0100 | [diff] [blame] | 1093 | |
Rob Hughes | 199c98e | 2019-11-13 11:41:36 +0000 | [diff] [blame] | 1094 | if(Threads_FOUND AND (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL Android))) |
Rob Hughes | b98032f | 2020-04-24 11:41:34 +0100 | [diff] [blame] | 1095 | target_link_libraries(GatordMock ${CMAKE_THREAD_LIBS_INIT}) |
Rob Hughes | 199c98e | 2019-11-13 11:41:36 +0000 | [diff] [blame] | 1096 | endif() |
| 1097 | |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 1098 | endif() |
Pavel Macenauer | 59e057f | 2020-04-15 14:17:26 +0000 | [diff] [blame] | 1099 | |
| 1100 | if (BUILD_PYTHON_WHL OR BUILD_PYTHON_SRC) |
| 1101 | add_subdirectory(python/pyarmnn) |
| 1102 | endif() |