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 \ |
Jim Flynn | 68db06f | 2020-10-06 10:14:50 +0100 | [diff] [blame] | 17 | MapWorkload.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 \ |
Derek Lamberti | 84da38b | 2019-06-13 11:40:08 +0100 | [diff] [blame] | 22 | TensorHandleFactoryRegistry.cpp \ |
Jim Flynn | 3a40ea5 | 2020-10-08 11:42:30 +0100 | [diff] [blame] | 23 | UnmapWorkload.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 \ |
James Conroy | 0800bf5 | 2020-05-14 12:46:44 +0100 | [diff] [blame] | 37 | test/QLstmEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | 46ff1ca | 2019-09-12 11:03:09 +0100 | [diff] [blame] | 38 | test/QuantizedLstmEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | f97f6da | 2019-10-01 18:35:44 +0100 | [diff] [blame] | 39 | test/SpaceToDepthEndToEndTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 40 | test/TensorCopyUtils.cpp \ |
Sadik Armagan | 9199e58 | 2019-09-05 17:35:31 +0100 | [diff] [blame] | 41 | test/layerTests/AbsTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 42 | test/layerTests/ActivationTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 43 | test/layerTests/AdditionTestImpl.cpp \ |
Nikhil Raj | 68c2c90 | 2019-09-19 11:21:11 +0100 | [diff] [blame] | 44 | test/layerTests/ArgMinMaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 45 | test/layerTests/BatchNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 3bc00ec | 2019-10-18 15:42:58 +0100 | [diff] [blame] | 46 | test/layerTests/ComparisonTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 47 | test/layerTests/ConcatTestImpl.cpp \ |
| 48 | test/layerTests/ConstantTestImpl.cpp \ |
| 49 | test/layerTests/Conv2dTestImpl.cpp \ |
Narumol Prangnawarat | 7ddbbae | 2020-03-13 10:26:05 +0000 | [diff] [blame] | 50 | test/layerTests/ConvertBf16ToFp32TestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 51 | test/layerTests/ConvertFp16ToFp32TestImpl.cpp \ |
Narumol Prangnawarat | ea54a01 | 2020-03-16 16:36:10 +0000 | [diff] [blame] | 52 | test/layerTests/ConvertFp32ToBf16TestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 53 | test/layerTests/ConvertFp32ToFp16TestImpl.cpp \ |
| 54 | test/layerTests/DebugTestImpl.cpp \ |
Aron Virginas-Tar | 73f6642 | 2019-09-23 19:11:59 +0100 | [diff] [blame] | 55 | test/layerTests/DepthToSpaceTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 56 | test/layerTests/DequantizeTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 57 | test/layerTests/DivisionTestImpl.cpp \ |
josh minor | 4a3c610 | 2020-01-06 16:40:46 -0600 | [diff] [blame] | 58 | test/layerTests/ElementwiseUnaryTestImpl.cpp \ |
Sadik Armagan | 9fabf43 | 2020-05-27 13:40:58 +0100 | [diff] [blame] | 59 | test/layerTests/ExpTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 60 | test/layerTests/FakeQuantizationTestImpl.cpp \ |
Ryan OShea | f4bfa6a | 2020-06-10 11:33:37 +0100 | [diff] [blame] | 61 | test/layerTests/FillTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 62 | test/layerTests/FloorTestImpl.cpp \ |
| 63 | test/layerTests/FullyConnectedTestImpl.cpp \ |
| 64 | test/layerTests/GatherTestImpl.cpp \ |
Aron Virginas-Tar | 8168f40 | 2019-10-04 13:10:16 +0100 | [diff] [blame] | 65 | test/layerTests/InstanceNormalizationTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 66 | test/layerTests/L2NormalizationTestImpl.cpp \ |
James Conroy | aba90cd | 2020-11-06 16:28:18 +0000 | [diff] [blame] | 67 | test/layerTests/LogicalTestImpl.cpp \ |
Aron Virginas-Tar | e662a94 | 2019-10-14 15:12:00 +0100 | [diff] [blame] | 68 | test/layerTests/LogSoftmaxTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 69 | test/layerTests/LstmTestImpl.cpp \ |
Aron Virginas-Tar | e89ebad | 2019-08-27 18:14:26 +0100 | [diff] [blame] | 70 | test/layerTests/MaximumTestImpl.cpp \ |
| 71 | test/layerTests/MinimumTestImpl.cpp \ |
| 72 | test/layerTests/MultiplicationTestImpl.cpp \ |
Sadik Armagan | ac47210 | 2020-03-24 09:54:36 +0000 | [diff] [blame] | 73 | test/layerTests/NegTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 74 | test/layerTests/NormalizationTestImpl.cpp \ |
| 75 | test/layerTests/PadTestImpl.cpp \ |
| 76 | test/layerTests/Pooling2dTestImpl.cpp \ |
Finn Williams | 2605b23 | 2020-06-10 15:53:46 +0100 | [diff] [blame] | 77 | test/layerTests/RankTestImpl.cpp \ |
Sadik Armagan | a274748 | 2021-02-09 10:28:54 +0000 | [diff] [blame] | 78 | test/layerTests/ReductionTestImpl.cpp \ |
Sadik Armagan | 0c3ea5b | 2021-02-03 09:29:30 +0000 | [diff] [blame] | 79 | test/layerTests/ReduceSumTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 80 | test/layerTests/ReshapeTestImpl.cpp \ |
Aron Virginas-Tar | b3670b1 | 2019-10-28 16:06:50 +0000 | [diff] [blame] | 81 | test/layerTests/ResizeTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 82 | test/layerTests/RsqrtTestImpl.cpp \ |
Aron Virginas-Tar | 92b9f87 | 2019-09-17 17:27:04 +0100 | [diff] [blame] | 83 | test/layerTests/SliceTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 84 | test/layerTests/QuantizeTestImpl.cpp \ |
| 85 | test/layerTests/SoftmaxTestImpl.cpp \ |
| 86 | test/layerTests/SpaceToBatchNdTestImpl.cpp \ |
| 87 | test/layerTests/SpaceToDepthTestImpl.cpp \ |
| 88 | test/layerTests/SplitterTestImpl.cpp \ |
Matthew Jackson | e69c399 | 2019-09-09 14:31:21 +0100 | [diff] [blame] | 89 | test/layerTests/StackTestImpl.cpp \ |
Aron Virginas-Tar | 00d306e | 2019-08-28 18:08:46 +0100 | [diff] [blame] | 90 | test/layerTests/StridedSliceTestImpl.cpp \ |
Aron Virginas-Tar | 94d3b93 | 2019-11-11 12:54:47 +0000 | [diff] [blame] | 91 | test/layerTests/SubtractionTestImpl.cpp \ |
| 92 | test/layerTests/TransposeConvolution2dTestImpl.cpp |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 93 | |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 94 | ifeq ($(ARMNN_REF_ENABLED),1) |
Matteo Martincigh | e67edb2 | 2019-08-14 14:05:46 +0100 | [diff] [blame] | 95 | COMMON_TEST_SOURCES += \ |
Aron Virginas-Tar | 69362cc | 2018-11-22 15:04:42 +0000 | [diff] [blame] | 96 | test/WorkloadDataValidation.cpp |
Matteo Martincigh | edd6fdc | 2019-08-29 18:27:18 +0100 | [diff] [blame] | 97 | endif # ARMNN_REF_ENABLED == 1 |