xref: /aosp_15_r20/external/ComputeLibrary/tests/validation/CMakeLists.txt (revision c217d954acce2dbc11938adb493fc0abd69584f3)
1# Copyright (c) 2023 Arm Limited.
2#
3# SPDX-License-Identifier: MIT
4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to
7# deal in the Software without restriction, including without limitation the
8# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9# sell copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions:
11#
12# The above copyright notice and this permission notice shall be included in all
13# copies or substantial portions of the Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21# SOFTWARE.
22
23target_sources(
24  arm_compute_validation
25  PRIVATE UNIT/SafeIntegerOps.cpp
26          UNIT/Version.cpp
27          UNIT/TensorInfo.cpp
28          UNIT/TensorShape.cpp
29          UNIT/Utils.cpp
30          UNIT/SubTensorInfo.cpp
31          UNIT/WindowIterator.cpp
32          UNIT/LifetimeManager.cpp
33          UNIT/GPUTarget.cpp
34          CPP/DetectionPostProcessLayer.cpp
35          CPP/TopKV.cpp
36          CPP/DFT.cpp
37          CPP/Permute.cpp
38          CPP/NonMaximumSuppression.cpp)
39
40if(ENABLE_NEON)
41  target_sources(
42    arm_compute_validation
43    PRIVATE NEON/ElementwiseNegation.cpp
44            NEON/BoundingBoxTransform.cpp
45            NEON/ChannelShuffle.cpp
46            NEON/Logical.cpp
47            NEON/DilatedConvolutionLayer.cpp
48            NEON/PoolingLayer.cpp
49            NEON/BitwiseNot.cpp
50            NEON/FillBorder.cpp
51            NEON/ElementwiseRsqrtLayer.cpp
52            NEON/DepthConcatenateLayer.cpp
53            NEON/ElementwisePower.cpp
54            NEON/Fill.cpp
55            NEON/ROIPoolingLayer.cpp
56            NEON/LSTMLayer.cpp
57            NEON/ArithmeticSubtraction.cpp
58            NEON/GEMMLowp.cpp
59            NEON/Unstack.cpp
60            NEON/Slice.cpp
61            NEON/Pooling3dLayer.cpp
62            NEON/BitwiseOr.cpp
63            NEON/HeightConcatenateLayer.cpp
64            NEON/ReshapeLayer.cpp
65            NEON/SoftmaxLayer.cpp
66            NEON/Gather.cpp
67            NEON/CropResize.cpp
68            NEON/ReductionOperation.cpp
69            NEON/PixelWiseMultiplication.cpp
70            NEON/LogSoftmaxLayer.cpp
71            NEON/DepthConvertLayer.cpp
72            NEON/Flatten.cpp
73            NEON/ElementwiseKernelSelection.cpp
74            NEON/DepthToSpaceLayer.cpp
75            NEON/ElementwiseAbsoluteValue.cpp
76            NEON/PadLayer.cpp
77            NEON/MeanStdDevNormalizationLayer.cpp
78            NEON/GlobalPoolingLayer.cpp
79            NEON/RNNLayer.cpp
80            NEON/DetectionPostProcessLayer.cpp
81            NEON/ElementwiseRound.cpp
82            NEON/BitwiseXor.cpp
83            NEON/GEMM.cpp
84            NEON/FuseBatchNormalization.cpp
85            NEON/BitwiseAnd.cpp
86            NEON/ElementwiseMax.cpp
87            NEON/ReduceMean.cpp
88            NEON/Reverse.cpp
89            NEON/L2NormalizeLayer.cpp
90            NEON/Convolution3D.cpp
91            NEON/ArithmeticAddition.cpp
92            NEON/ActivationLayer.cpp
93            NEON/SpaceToBatchLayer.cpp
94            NEON/ElementwiseLog.cpp
95            NEON/LSTMLayerQuantized.cpp
96            NEON/Im2Col.cpp
97            NEON/DequantizationLayer.cpp
98            NEON/DeconvolutionLayer.cpp
99            NEON/Select.cpp
100            NEON/ElementwiseSin.cpp
101            NEON/PReluLayer.cpp
102            NEON/BatchNormalizationLayer.cpp
103            NEON/ElementwiseMin.cpp
104            NEON/InstanceNormalizationLayer.cpp
105            NEON/ROIAlignLayer.cpp
106            NEON/ElementwiseDivision.cpp
107            NEON/ElementwiseExpLayer.cpp
108            NEON/ArgMinMax.cpp
109            NEON/QLSTMLayerNormalization.cpp
110            NEON/Col2Im.cpp
111            NEON/Split.cpp
112            NEON/Transpose.cpp
113            NEON/GenerateProposalsLayer.cpp
114            NEON/StackLayer.cpp
115            NEON/WidthConcatenateLayer.cpp
116            NEON/NormalizationLayer.cpp
117            NEON/Copy.cpp
118            NEON/ElementwiseSquareDiff.cpp
119            NEON/MaxUnpoolingLayer.cpp
120            NEON/Permute.cpp
121            NEON/Comparisons.cpp
122            NEON/BatchConcatenateLayer.cpp
123            NEON/Tile.cpp
124            NEON/BatchToSpaceLayer.cpp
125            NEON/SpaceToDepthLayer.cpp
126            NEON/DepthwiseConvolutionLayerNative.cpp
127            NEON/QuantizationLayer.cpp
128            NEON/ConvertFullyConnectedWeights.cpp
129            NEON/Floor.cpp
130            NEON/FFT.cpp
131            NEON/Cast.cpp
132            NEON/PriorBoxLayer.cpp
133            NEON/Scale.cpp
134            NEON/ReorgLayer.cpp
135            NEON/Range.cpp
136            NEON/DirectConvolutionLayer.cpp
137            NEON/DepthwiseConvolutionLayer.cpp
138            NEON/FullyConnectedLayer.cpp
139            NEON/ConvolutionLayer.cpp
140            NEON/StridedSlice.cpp
141            NEON/UNIT/DynamicTensor.cpp
142            NEON/UNIT/TensorAllocator.cpp
143            NEON/UNIT/MemoryManager.cpp
144            NEON/UNIT/RuntimeContext.cpp)
145endif()
146