David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright © 2017 ARM Ltd. All rights reserved. |
| 3 | # SPDX-License-Identifier: MIT |
| 4 | # |
| 5 | |
| 6 | # COMMON_SOURCES contains the list of files to be included |
| 7 | # in the Android build and it is picked up by the Android.mk |
| 8 | # file in the root of ArmNN |
| 9 | |
| 10 | COMMON_SOURCES := \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 11 | CpuTensorHandle.cpp \ |
Matteo Martincigh | e54aa06 | 2019-08-05 14:12:11 +0100 | [diff] [blame] | 12 | DynamicBackend.cpp \ |
| 13 | DynamicBackendUtils.cpp \ |
Matteo Martincigh | d0dc770 | 2019-08-01 17:09:03 +0100 | [diff] [blame] | 14 | IBackendInternal.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 15 | ITensorHandleFactory.cpp \ |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 16 | LayerSupportBase.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 17 | MemCopyWorkload.cpp \ |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 18 | MemImportWorkload.cpp \ |
| 19 | MemSyncWorkload.cpp \ |
Derek Lamberti | c2fe5fb | 2019-05-08 10:23:08 +0100 | [diff] [blame] | 20 | OptimizationViews.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 21 | TensorHandleFactoryRegistry.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 22 | WorkloadData.cpp \ |
Matteo Martincigh | 747ef82 | 2018-12-18 09:26:39 +0000 | [diff] [blame] | 23 | WorkloadFactory.cpp \ |
| 24 | WorkloadUtils.cpp |
Aron Virginas-Tar | ceae3aa | 2018-10-18 10:39:38 +0100 | [diff] [blame] | 25 | |
| 26 | # COMMON_TEST_SOURCES contains the list of files to be included |
| 27 | # in the Android unit test build (armnn-tests) and it is picked |
| 28 | # up by the Android.mk file in the root of ArmNN |
| 29 | |
| 30 | COMMON_TEST_SOURCES := \ |
Matteo Martincigh | f02e6cd | 2019-05-17 12:15:30 +0100 | [diff] [blame] | 31 | test/CommonTestUtils.cpp \ |
Sadik Armagan | 062e0e9 | 2019-10-14 10:31:43 +0100 | [diff] [blame] | 32 | test/InstanceNormalizationEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 33 | test/JsonPrinterTestImpl.cpp \ |
Sadik Armagan | 20bea00 | 2019-10-16 09:29:38 +0100 | [diff] [blame] | 34 | test/LogSoftmaxEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | 46ff1ca | 2019-09-12 11:03:09 +0100 | [diff] [blame] | 35 | test/QuantizedLstmEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | f97f6da | 2019-10-01 18:35:44 +0100 | [diff] [blame] | 36 | test/SpaceToDepthEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 37 | test/TensorCopyUtils.cpp \ |
Sadik Armagan | 9199e58 | 2019-09-05 17:35:31 +0100 | [diff] [blame] | 38 | test/layerTests/AbsTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 39 | test/layerTests/ActivationTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 40 | test/layerTests/AdditionTestImpl.cpp \ |
Nikhil Raj | 68c2c90 | 2019-09-19 11:21:11 +0100 | [diff] [blame] | 41 | test/layerTests/ArgMinMaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 42 | test/layerTests/BatchNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 3bc00ec | 2019-10-18 15:42:58 +0100 | [diff] [blame] | 43 | test/layerTests/ComparisonTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 44 | test/layerTests/ConcatTestImpl.cpp \ |
| 45 | test/layerTests/ConstantTestImpl.cpp \ |
| 46 | test/layerTests/Conv2dTestImpl.cpp \ |
Narumol Prangnawarat | 7ddbbae | 2020-03-13 10:26:05 +0000 | [diff] [blame] | 47 | test/layerTests/ConvertBf16ToFp32TestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 48 | test/layerTests/ConvertFp16ToFp32TestImpl.cpp \ |
Narumol Prangnawarat | ea54a01 | 2020-03-16 16:36:10 +0000 | [diff] [blame] | 49 | test/layerTests/ConvertFp32ToBf16TestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 50 | test/layerTests/ConvertFp32ToFp16TestImpl.cpp \ |
| 51 | test/layerTests/DebugTestImpl.cpp \ |
Aron Virginas-Tar | 73f6642 | 2019-09-23 19:11:59 +0100 | [diff] [blame] | 52 | test/layerTests/DepthToSpaceTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 53 | test/layerTests/DequantizeTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 54 | test/layerTests/DivisionTestImpl.cpp \ |
josh minor | 4a3c610 | 2020-01-06 16:40:46 -0600 | [diff] [blame] | 55 | test/layerTests/ElementwiseUnaryTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 56 | test/layerTests/FakeQuantizationTestImpl.cpp \ |
| 57 | test/layerTests/FloorTestImpl.cpp \ |
| 58 | test/layerTests/FullyConnectedTestImpl.cpp \ |
| 59 | test/layerTests/GatherTestImpl.cpp \ |
Aron Virginas-Tar | 8168f40 | 2019-10-04 13:10:16 +0100 | [diff] [blame] | 60 | test/layerTests/InstanceNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 61 | test/layerTests/L2NormalizationTestImpl.cpp \ |
Aron Virginas-Tar | e662a94 | 2019-10-14 15:12:00 +0100 | [diff] [blame] | 62 | test/layerTests/LogSoftmaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 63 | test/layerTests/LstmTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 64 | test/layerTests/MaximumTestImpl.cpp \ |
| 65 | test/layerTests/MinimumTestImpl.cpp \ |
| 66 | test/layerTests/MultiplicationTestImpl.cpp \ |
Sadik Armagan | ac47210 | 2020-03-24 09:54:36 +0000 | [diff] [blame] | 67 | test/layerTests/NegTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 68 | test/layerTests/NormalizationTestImpl.cpp \ |
| 69 | test/layerTests/PadTestImpl.cpp \ |
| 70 | test/layerTests/Pooling2dTestImpl.cpp \ |
| 71 | test/layerTests/ReshapeTestImpl.cpp \ |
Aron Virginas-Tar | b3670b1 | 2019-10-28 16:06:50 +0000 | [diff] [blame] | 72 | test/layerTests/ResizeTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 73 | test/layerTests/RsqrtTestImpl.cpp \ |
Aron Virginas-Tar | 92b9f87 | 2019-09-17 17:27:04 +0100 | [diff] [blame] | 74 | test/layerTests/SliceTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 75 | test/layerTests/QuantizeTestImpl.cpp \ |
| 76 | test/layerTests/SoftmaxTestImpl.cpp \ |
| 77 | test/layerTests/SpaceToBatchNdTestImpl.cpp \ |
| 78 | test/layerTests/SpaceToDepthTestImpl.cpp \ |
| 79 | test/layerTests/SplitterTestImpl.cpp \ |
Matthew Jackson | e69c399 | 2019-09-09 14:31:21 +0100 | [diff] [blame] | 80 | test/layerTests/StackTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 81 | test/layerTests/StridedSliceTestImpl.cpp \ |
Aron Virginas-Tar | 94d3b93 | 2019-11-11 12:54:47 +0000 | [diff] [blame] | 82 | test/layerTests/SubtractionTestImpl.cpp \ |
| 83 | test/layerTests/TransposeConvolution2dTestImpl.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 84 | |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 85 | ifeq ($(ARMNN_REF_ENABLED),1) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 86 | COMMON_TEST_SOURCES += \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 87 | test/WorkloadDataValidation.cpp |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 88 | endif # ARMNN_REF_ENABLED == 1 |