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 | 32cbb0c | 2018-10-09 15:46:08 +0100 | [diff] [blame] | 11 | BackendRegistry.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 12 | CpuTensorHandle.cpp \ |
Matteo Martincigh | e54aa06 | 2019-08-05 14:12:11 +0100 | [diff] [blame] | 13 | DynamicBackend.cpp \ |
| 14 | DynamicBackendUtils.cpp \ |
Matteo Martincigh | d0dc770 | 2019-08-01 17:09:03 +0100 | [diff] [blame] | 15 | IBackendInternal.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 16 | ITensorHandleFactory.cpp \ |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 17 | LayerSupportBase.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 18 | MemCopyWorkload.cpp \ |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 19 | MemImportWorkload.cpp \ |
| 20 | MemSyncWorkload.cpp \ |
Derek Lamberti | c2fe5fb | 2019-05-08 10:23:08 +0100 | [diff] [blame] | 21 | OptimizationViews.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 22 | OutputHandler.cpp \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 23 | TensorHandleFactoryRegistry.cpp \ |
David Beck | b30c533 | 2018-09-28 16:51:01 +0100 | [diff] [blame] | 24 | WorkloadData.cpp \ |
Matteo Martincigh | 747ef82 | 2018-12-18 09:26:39 +0000 | [diff] [blame] | 25 | WorkloadFactory.cpp \ |
| 26 | WorkloadUtils.cpp |
Aron Virginas-Tar | ceae3aa | 2018-10-18 10:39:38 +0100 | [diff] [blame] | 27 | |
| 28 | # COMMON_TEST_SOURCES contains the list of files to be included |
| 29 | # in the Android unit test build (armnn-tests) and it is picked |
| 30 | # up by the Android.mk file in the root of ArmNN |
| 31 | |
| 32 | COMMON_TEST_SOURCES := \ |
Matteo Martincigh | f02e6cd | 2019-05-17 12:15:30 +0100 | [diff] [blame] | 33 | test/CommonTestUtils.cpp \ |
Sadik Armagan | 062e0e9 | 2019-10-14 10:31:43 +0100 | [diff] [blame] | 34 | test/InstanceNormalizationEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 35 | test/JsonPrinterTestImpl.cpp \ |
Sadik Armagan | 20bea00 | 2019-10-16 09:29:38 +0100 | [diff] [blame] | 36 | test/LogSoftmaxEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | 46ff1ca | 2019-09-12 11:03:09 +0100 | [diff] [blame] | 37 | test/QuantizedLstmEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | f97f6da | 2019-10-01 18:35:44 +0100 | [diff] [blame] | 38 | test/SpaceToDepthEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 39 | test/TensorCopyUtils.cpp \ |
Sadik Armagan | 9199e58 | 2019-09-05 17:35:31 +0100 | [diff] [blame] | 40 | test/layerTests/AbsTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 41 | test/layerTests/ActivationTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 42 | test/layerTests/AdditionTestImpl.cpp \ |
Nikhil Raj | 68c2c90 | 2019-09-19 11:21:11 +0100 | [diff] [blame] | 43 | test/layerTests/ArgMinMaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 44 | test/layerTests/BatchNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 3bc00ec | 2019-10-18 15:42:58 +0100 | [diff] [blame] | 45 | test/layerTests/ComparisonTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 46 | test/layerTests/ConcatTestImpl.cpp \ |
| 47 | test/layerTests/ConstantTestImpl.cpp \ |
| 48 | test/layerTests/Conv2dTestImpl.cpp \ |
| 49 | test/layerTests/ConvertFp16ToFp32TestImpl.cpp \ |
| 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 \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 55 | test/layerTests/FakeQuantizationTestImpl.cpp \ |
| 56 | test/layerTests/FloorTestImpl.cpp \ |
| 57 | test/layerTests/FullyConnectedTestImpl.cpp \ |
| 58 | test/layerTests/GatherTestImpl.cpp \ |
Aron Virginas-Tar | 8168f40 | 2019-10-04 13:10:16 +0100 | [diff] [blame] | 59 | test/layerTests/InstanceNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 60 | test/layerTests/L2NormalizationTestImpl.cpp \ |
Aron Virginas-Tar | e662a94 | 2019-10-14 15:12:00 +0100 | [diff] [blame] | 61 | test/layerTests/LogSoftmaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 62 | test/layerTests/LstmTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 63 | test/layerTests/MaximumTestImpl.cpp \ |
| 64 | test/layerTests/MinimumTestImpl.cpp \ |
| 65 | test/layerTests/MultiplicationTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 66 | test/layerTests/NormalizationTestImpl.cpp \ |
| 67 | test/layerTests/PadTestImpl.cpp \ |
| 68 | test/layerTests/Pooling2dTestImpl.cpp \ |
| 69 | test/layerTests/ReshapeTestImpl.cpp \ |
| 70 | test/layerTests/RsqrtTestImpl.cpp \ |
Aron Virginas-Tar | 92b9f87 | 2019-09-17 17:27:04 +0100 | [diff] [blame] | 71 | test/layerTests/SliceTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 72 | test/layerTests/QuantizeTestImpl.cpp \ |
| 73 | test/layerTests/SoftmaxTestImpl.cpp \ |
| 74 | test/layerTests/SpaceToBatchNdTestImpl.cpp \ |
| 75 | test/layerTests/SpaceToDepthTestImpl.cpp \ |
| 76 | test/layerTests/SplitterTestImpl.cpp \ |
Matthew Jackson | e69c399 | 2019-09-09 14:31:21 +0100 | [diff] [blame] | 77 | test/layerTests/StackTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 78 | test/layerTests/StridedSliceTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 79 | test/layerTests/SubtractionTestImpl.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 80 | |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 81 | ifeq ($(ARMNN_REF_ENABLED),1) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 82 | COMMON_TEST_SOURCES += \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 83 | test/WorkloadDataValidation.cpp |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 84 | endif # ARMNN_REF_ENABLED == 1 |