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