blob: 5d339477d550885e0278b5c044789b3a6b49d237 [file] [log] [blame]
David Beckb30c5332018-09-28 16:51:01 +01001#
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
10COMMON_SOURCES := \
James Conroy1f58f032021-04-27 17:13:27 +010011 TensorHandle.cpp \
Matteo Martincighe54aa062019-08-05 14:12:11 +010012 DynamicBackend.cpp \
13 DynamicBackendUtils.cpp \
Matteo Martincighd0dc7702019-08-01 17:09:03 +010014 IBackendInternal.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010015 ITensorHandleFactory.cpp \
Matteo Martincigh992d6dc2019-01-10 17:34:20 +000016 LayerSupportBase.cpp \
Jim Flynn68db06f2020-10-06 10:14:50 +010017 MapWorkload.cpp \
David Beckb30c5332018-09-28 16:51:01 +010018 MemCopyWorkload.cpp \
Derek Lambertif674aa02019-08-01 15:56:25 +010019 MemImportWorkload.cpp \
20 MemSyncWorkload.cpp \
Derek Lambertic2fe5fb2019-05-08 10:23:08 +010021 OptimizationViews.cpp \
Derek Lamberti84da38b2019-06-13 11:40:08 +010022 TensorHandleFactoryRegistry.cpp \
Jim Flynn3a40ea52020-10-08 11:42:30 +010023 UnmapWorkload.cpp \
David Beckb30c5332018-09-28 16:51:01 +010024 WorkloadData.cpp \
Matteo Martincigh747ef822018-12-18 09:26:39 +000025 WorkloadFactory.cpp \
26 WorkloadUtils.cpp
Aron Virginas-Tarceae3aa2018-10-18 10:39:38 +010027
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
32COMMON_TEST_SOURCES := \
Matteo Martincighf02e6cd2019-05-17 12:15:30 +010033 test/CommonTestUtils.cpp \
Sadik Armagan062e0e92019-10-14 10:31:43 +010034 test/InstanceNormalizationEndToEndTestImpl.cpp \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +000035 test/JsonPrinterTestImpl.cpp \
Sadik Armagan20bea002019-10-16 09:29:38 +010036 test/LogSoftmaxEndToEndTestImpl.cpp \
James Conroy0800bf52020-05-14 12:46:44 +010037 test/QLstmEndToEndTestImpl.cpp \
Aron Virginas-Tar46ff1ca2019-09-12 11:03:09 +010038 test/QuantizedLstmEndToEndTestImpl.cpp \
Aron Virginas-Tarf97f6da2019-10-01 18:35:44 +010039 test/SpaceToDepthEndToEndTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010040 test/TensorCopyUtils.cpp \
Sadik Armagan9199e582019-09-05 17:35:31 +010041 test/layerTests/AbsTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010042 test/layerTests/ActivationTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010043 test/layerTests/AdditionTestImpl.cpp \
Nikhil Raj68c2c902019-09-19 11:21:11 +010044 test/layerTests/ArgMinMaxTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010045 test/layerTests/BatchNormalizationTestImpl.cpp \
mathad01b392e982021-04-07 12:07:30 +010046 test/layerTests/CastTestImpl.cpp \
Aron Virginas-Tar3bc00ec2019-10-18 15:42:58 +010047 test/layerTests/ComparisonTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010048 test/layerTests/ConcatTestImpl.cpp \
49 test/layerTests/ConstantTestImpl.cpp \
50 test/layerTests/Conv2dTestImpl.cpp \
Narumol Prangnawarat7ddbbae2020-03-13 10:26:05 +000051 test/layerTests/ConvertBf16ToFp32TestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010052 test/layerTests/ConvertFp16ToFp32TestImpl.cpp \
Narumol Prangnawaratea54a012020-03-16 16:36:10 +000053 test/layerTests/ConvertFp32ToBf16TestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010054 test/layerTests/ConvertFp32ToFp16TestImpl.cpp \
55 test/layerTests/DebugTestImpl.cpp \
Aron Virginas-Tar73f66422019-09-23 19:11:59 +010056 test/layerTests/DepthToSpaceTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010057 test/layerTests/DequantizeTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010058 test/layerTests/DivisionTestImpl.cpp \
josh minor4a3c6102020-01-06 16:40:46 -060059 test/layerTests/ElementwiseUnaryTestImpl.cpp \
Sadik Armagan9fabf432020-05-27 13:40:58 +010060 test/layerTests/ExpTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010061 test/layerTests/FakeQuantizationTestImpl.cpp \
Ryan OSheaf4bfa6a2020-06-10 11:33:37 +010062 test/layerTests/FillTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010063 test/layerTests/FloorTestImpl.cpp \
64 test/layerTests/FullyConnectedTestImpl.cpp \
65 test/layerTests/GatherTestImpl.cpp \
Aron Virginas-Tar8168f402019-10-04 13:10:16 +010066 test/layerTests/InstanceNormalizationTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010067 test/layerTests/L2NormalizationTestImpl.cpp \
Teresa Charlin50de4fa2021-05-31 18:47:33 +010068 test/layerTests/LogTestImpl.cpp \
James Conroyaba90cd2020-11-06 16:28:18 +000069 test/layerTests/LogicalTestImpl.cpp \
Aron Virginas-Tare662a942019-10-14 15:12:00 +010070 test/layerTests/LogSoftmaxTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010071 test/layerTests/LstmTestImpl.cpp \
Aron Virginas-Tare89ebad2019-08-27 18:14:26 +010072 test/layerTests/MaximumTestImpl.cpp \
73 test/layerTests/MinimumTestImpl.cpp \
74 test/layerTests/MultiplicationTestImpl.cpp \
Sadik Armaganac472102020-03-24 09:54:36 +000075 test/layerTests/NegTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010076 test/layerTests/NormalizationTestImpl.cpp \
77 test/layerTests/PadTestImpl.cpp \
78 test/layerTests/Pooling2dTestImpl.cpp \
Finn Williams2605b232020-06-10 15:53:46 +010079 test/layerTests/RankTestImpl.cpp \
Sadik Armagana2747482021-02-09 10:28:54 +000080 test/layerTests/ReductionTestImpl.cpp \
Sadik Armagan0c3ea5b2021-02-03 09:29:30 +000081 test/layerTests/ReduceSumTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010082 test/layerTests/ReshapeTestImpl.cpp \
Aron Virginas-Tarb3670b12019-10-28 16:06:50 +000083 test/layerTests/ResizeTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010084 test/layerTests/RsqrtTestImpl.cpp \
Aron Virginas-Tar92b9f872019-09-17 17:27:04 +010085 test/layerTests/SliceTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010086 test/layerTests/QuantizeTestImpl.cpp \
Teresa Charlin50de4fa2021-05-31 18:47:33 +010087 test/layerTests/SinTestImpl.cpp \
Keith Davis3ae3f972021-05-21 16:33:48 +010088 test/layerTests/ShapeTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010089 test/layerTests/SoftmaxTestImpl.cpp \
90 test/layerTests/SpaceToBatchNdTestImpl.cpp \
91 test/layerTests/SpaceToDepthTestImpl.cpp \
92 test/layerTests/SplitterTestImpl.cpp \
Matthew Jacksone69c3992019-09-09 14:31:21 +010093 test/layerTests/StackTestImpl.cpp \
Aron Virginas-Tar00d306e2019-08-28 18:08:46 +010094 test/layerTests/StridedSliceTestImpl.cpp \
Aron Virginas-Tar94d3b932019-11-11 12:54:47 +000095 test/layerTests/SubtractionTestImpl.cpp \
Narumol Prangnawarate5339e72021-07-28 17:33:28 +010096 test/layerTests/TransposeConvolution2dTestImpl.cpp \
97 test/layerTests/UnidirectionalSequenceLstmTestImpl.cpp
Matteo Martincighe67edb22019-08-14 14:05:46 +010098
Matteo Martincighedd6fdc2019-08-29 18:27:18 +010099ifeq ($(ARMNN_REF_ENABLED),1)
Matteo Martincighe67edb22019-08-14 14:05:46 +0100100COMMON_TEST_SOURCES += \
Aron Virginas-Tar69362cc2018-11-22 15:04:42 +0000101 test/WorkloadDataValidation.cpp
Matteo Martincighedd6fdc2019-08-29 18:27:18 +0100102endif # ARMNN_REF_ENABLED == 1