Skip to content

Commit 514be65

Browse files
JenkinsAnthonyBarbier
authored andcommitted
arm_compute v19.02
Change-Id: I853a3ecf38f206da13c1b03640c8adf73c20477c
1 parent 3d2d44e commit 514be65

File tree

12,700 files changed

+559745
-277989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,700 files changed

+559745
-277989
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<div align="center">
2+
<img src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png"><br><br>
3+
</div>
4+
15
Release repository: https://github.com/arm-software/ComputeLibrary
26

37
Development repository: https://review.mlplatform.org/#/admin/projects/ml/ComputeLibrary
@@ -19,6 +23,7 @@ Related projects:
1923

2024
Documentation available here:
2125

26+
- [v19.02](https://arm-software.github.io/ComputeLibrary/v19.02/)
2227
- [v18.11](https://arm-software.github.io/ComputeLibrary/v18.11/index.xhtml)
2328
- [v18.08](https://arm-software.github.io/ComputeLibrary/v18.08/)
2429
- [v18.05](https://arm-software.github.io/ComputeLibrary/v18.05/)
@@ -35,6 +40,8 @@ Documentation available here:
3540

3641
Binaries available here:
3742

43+
- [v19.02-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.02/arm_compute-v19.02-bin-linux.tar.gz)
44+
- [v19.02-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.02/arm_compute-v19.02-bin-android.tar.gz)
3845
- [v18.11-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v18.11/arm_compute-v18.11-bin-linux.tar.gz)
3946
- [v18.11-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v18.11/arm_compute-v18.11-bin-android.tar.gz)
4047
- [v18.08-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v18.08/arm_compute-v18.08-bin-linux.tar.gz)
@@ -54,6 +61,18 @@ Binaries available here:
5461
- [v17.04](https://github.com/ARM-software/ComputeLibrary/releases/download/v17.04/arm_compute-v17.04-bin.tar.gz)
5562
- [v17.03.1](https://github.com/ARM-software/ComputeLibrary/releases/download/v17.03.1/arm_compute-v17.03.1-bin.tar.gz)
5663

57-
58-
5964
License & Contributions: The software is provided under MIT license. Contributions to this project are accepted under the same license.
65+
66+
### Public mailing list
67+
For technical discussion, the ComputeLibrary project has a public mailing list: [email protected]
68+
The list is open to anyone inside or outside of Arm to self subscribe. In order to subscribe, please visit the following website:
69+
https://lists.linaro.org/mailman/listinfo/acl-dev
70+
71+
### Developer Certificate of Origin (DCO)
72+
Before the ComputeLibrary project accepts your contribution, you need to certify its origin and give us your permission. To manage this process we use the Developer Certificate of Origin (DCO) V1.1 (https://developercertificate.org/)
73+
74+
To indicate that you agree to the the terms of the DCO, you "sign off" your contribution by adding a line with your name and e-mail address to every git commit message:
75+
76+
```Signed-off-by: John Doe <[email protected]>```
77+
78+
You must use your real name, no pseudonyms or anonymous contributions are accepted.

SConscript

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import os.path
2424
import re
2525
import subprocess
2626

27-
VERSION = "v18.11"
28-
SONAME_VERSION="13.0.0"
27+
VERSION = "v19.02"
28+
SONAME_VERSION="14.0.0"
2929

3030
Import('env')
3131
Import('vars')
@@ -161,7 +161,11 @@ arm_compute_env.Append(LIBS = ['dl'])
161161
core_files = Glob('src/core/*.cpp')
162162
core_files += Glob('src/core/CPP/*.cpp')
163163
core_files += Glob('src/core/CPP/kernels/*.cpp')
164-
core_files += Glob('src/core/utils/*/*.cpp')
164+
core_files += Glob('src/core/utils/helpers/*.cpp')
165+
core_files += Glob('src/core/utils/io/*.cpp')
166+
core_files += Glob('src/core/utils/quantization/*.cpp')
167+
if env["logging"]:
168+
core_files += Glob('src/core/utils/logging/*.cpp')
165169

166170
runtime_files = Glob('src/runtime/*.cpp')
167171
runtime_files += Glob('src/runtime/CPP/ICPPSimpleFunction.cpp')
@@ -186,6 +190,7 @@ if env['opencl']:
186190
runtime_files += Glob('src/runtime/CL/*.cpp')
187191
runtime_files += Glob('src/runtime/CL/functions/*.cpp')
188192
runtime_files += Glob('src/runtime/CL/tuners/*.cpp')
193+
runtime_files += Glob('src/runtime/CL/gemm_reshaped/*.cpp')
189194

190195
graph_files += Glob('src/graph/backends/CL/*.cpp')
191196

SConstruct

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ vars.AddVariables(
5555
BoolVariable("cppthreads", "Enable C++11 threads backend", True),
5656
PathVariable("build_dir", "Specify sub-folder for the build", ".", PathVariable.PathAccept),
5757
PathVariable("install_dir", "Specify sub-folder for the install", "", PathVariable.PathAccept),
58+
BoolVariable("exceptions", "Enable/disable C++ exception support", True),
59+
("toolchain_prefix", "Override the toolchain prefix", ""),
5860
("extra_cxx_flags", "Extra CXX flags to be appended to the build command", ""),
5961
("extra_link_flags", "Extra LD flags to be appended to the build command", ""),
6062
("compiler_cache", "Command to prefix to the C and C++ compiler (e.g ccache)", "")
@@ -116,6 +118,14 @@ if env['os'] == 'bare_metal':
116118
print("ERROR: OpenMP and C++11 threads not supported in bare_metal. Use cppthreads=0 openmp=0")
117119
Exit(1)
118120

121+
if not env['exceptions']:
122+
if env['opencl'] or env['gles_compute']:
123+
print("ERROR: OpenCL and GLES are not supported when building without exceptions. Use opencl=0 gles_compute=0")
124+
Exit(1)
125+
126+
env.Append(CPPDEFINES = ['ARM_COMPUTE_EXCEPTIONS_DISABLED'])
127+
env.Append(CXXFLAGS = ['-fno-exceptions'])
128+
119129
env.Append(CXXFLAGS = ['-Wno-deprecated-declarations','-Wall','-DARCH_ARM',
120130
'-Wextra','-Wno-unused-parameter','-pedantic','-Wdisabled-optimization','-Wformat=2',
121131
'-Winit-self','-Wstrict-overflow=2','-Wswitch-default',
@@ -200,6 +210,9 @@ elif env['arch'] == 'x86_64':
200210
if env['build'] == 'native':
201211
prefix = ""
202212

213+
if env["toolchain_prefix"] != "":
214+
prefix = env["toolchain_prefix"]
215+
203216
env['CC'] = env['compiler_cache']+" "+prefix + c_compiler
204217
env['CXX'] = env['compiler_cache']+" "+prefix + cpp_compiler
205218
env['LD'] = prefix + "ld"
@@ -295,8 +308,8 @@ if env['gles_compute'] and env['os'] != 'android':
295308

296309
SConscript('./SConscript', variant_dir=build_path, duplicate=0)
297310

298-
if env['examples'] and env['os'] != 'bare_metal':
311+
if env['examples'] and env['os'] != 'bare_metal' and env['exceptions']:
299312
SConscript('./examples/SConscript', variant_dir='%s/examples' % build_path, duplicate=0)
300313

301-
if env['os'] != 'bare_metal':
314+
if env['os'] != 'bare_metal' and env['exceptions']:
302315
SConscript('./tests/SConscript', variant_dir='%s/tests' % build_path, duplicate=0)

arm_compute/core/CL/CLHelpers.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,14 @@ bool dot8_acc_supported(const cl::Device &device);
135135
* @return True if the configuration is supported
136136
*/
137137
bool cl_winograd_convolution_layer_supported(const Size2D &output_tile, const Size2D &kernel_size, DataLayout data_layout);
138+
139+
/** Helper function to get the preferred native vector width size for built-in scalar types that can be put into vectors
140+
*
141+
* @param[in] device A CL device
142+
* @param[in] dt data type
143+
*
144+
* @return preferred vector width
145+
*/
146+
size_t preferred_vector_width(const cl::Device &device, DataType dt);
138147
}
139148
#endif /* __ARM_COMPUTE_CLHELPERS_H__ */

arm_compute/core/CL/CLKernels.h

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016-2018 ARM Limited.
2+
* Copyright (c) 2016-2019 ARM Limited.
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -28,9 +28,6 @@
2828
#include "arm_compute/core/CL/kernels/CLAbsoluteDifferenceKernel.h"
2929
#include "arm_compute/core/CL/kernels/CLAccumulateKernel.h"
3030
#include "arm_compute/core/CL/kernels/CLActivationLayerKernel.h"
31-
#include "arm_compute/core/CL/kernels/CLArithmeticAdditionKernel.h"
32-
#include "arm_compute/core/CL/kernels/CLArithmeticDivisionKernel.h"
33-
#include "arm_compute/core/CL/kernels/CLArithmeticSubtractionKernel.h"
3431
#include "arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h"
3532
#include "arm_compute/core/CL/kernels/CLBatchToSpaceLayerKernel.h"
3633
#include "arm_compute/core/CL/kernels/CLBitwiseAndKernel.h"
@@ -45,6 +42,7 @@
4542
#include "arm_compute/core/CL/kernels/CLChannelShuffleLayerKernel.h"
4643
#include "arm_compute/core/CL/kernels/CLCol2ImKernel.h"
4744
#include "arm_compute/core/CL/kernels/CLColorConvertKernel.h"
45+
#include "arm_compute/core/CL/kernels/CLComparisonKernel.h"
4846
#include "arm_compute/core/CL/kernels/CLConvertFullyConnectedWeightsKernel.h"
4947
#include "arm_compute/core/CL/kernels/CLConvolutionKernel.h"
5048
#include "arm_compute/core/CL/kernels/CLCopyKernel.h"
@@ -53,14 +51,17 @@
5351
#include "arm_compute/core/CL/kernels/CLDepthConvertLayerKernel.h"
5452
#include "arm_compute/core/CL/kernels/CLDepthwiseConvolutionLayer3x3NCHWKernel.h"
5553
#include "arm_compute/core/CL/kernels/CLDepthwiseConvolutionLayer3x3NHWCKernel.h"
54+
#include "arm_compute/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsGenericKernel.h"
55+
#include "arm_compute/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsKernel.h"
5656
#include "arm_compute/core/CL/kernels/CLDepthwiseIm2ColKernel.h"
5757
#include "arm_compute/core/CL/kernels/CLDepthwiseVectorToTensorKernel.h"
58-
#include "arm_compute/core/CL/kernels/CLDepthwiseWeightsReshapeKernel.h"
5958
#include "arm_compute/core/CL/kernels/CLDequantizationLayerKernel.h"
6059
#include "arm_compute/core/CL/kernels/CLDerivativeKernel.h"
6160
#include "arm_compute/core/CL/kernels/CLDilateKernel.h"
6261
#include "arm_compute/core/CL/kernels/CLDirectConvolutionLayerKernel.h"
6362
#include "arm_compute/core/CL/kernels/CLDirectConvolutionLayerOutputStageKernel.h"
63+
#include "arm_compute/core/CL/kernels/CLElementWiseUnaryLayerKernel.h"
64+
#include "arm_compute/core/CL/kernels/CLElementwiseOperationKernel.h"
6465
#include "arm_compute/core/CL/kernels/CLErodeKernel.h"
6566
#include "arm_compute/core/CL/kernels/CLFastCornersKernel.h"
6667
#include "arm_compute/core/CL/kernels/CLFillBorderKernel.h"
@@ -69,6 +70,7 @@
6970
#include "arm_compute/core/CL/kernels/CLFuseBatchNormalizationKernel.h"
7071
#include "arm_compute/core/CL/kernels/CLGEMMInterleave4x4Kernel.h"
7172
#include "arm_compute/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.h"
73+
#include "arm_compute/core/CL/kernels/CLGEMMLowpMatrixMultiplyReshapedKernel.h"
7274
#include "arm_compute/core/CL/kernels/CLGEMMLowpOffsetContributionKernel.h"
7375
#include "arm_compute/core/CL/kernels/CLGEMMLowpOffsetContributionOutputStageKernel.h"
7476
#include "arm_compute/core/CL/kernels/CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel.h"
@@ -78,8 +80,12 @@
7880
#include "arm_compute/core/CL/kernels/CLGEMMMatrixAccumulateBiasesKernel.h"
7981
#include "arm_compute/core/CL/kernels/CLGEMMMatrixAdditionKernel.h"
8082
#include "arm_compute/core/CL/kernels/CLGEMMMatrixMultiplyKernel.h"
83+
#include "arm_compute/core/CL/kernels/CLGEMMMatrixMultiplyReshapedKernel.h"
8184
#include "arm_compute/core/CL/kernels/CLGEMMMatrixVectorMultiplyKernel.h"
85+
#include "arm_compute/core/CL/kernels/CLGEMMReshapeLHSMatrixKernel.h"
86+
#include "arm_compute/core/CL/kernels/CLGEMMReshapeRHSMatrixKernel.h"
8287
#include "arm_compute/core/CL/kernels/CLGEMMTranspose1xWKernel.h"
88+
#include "arm_compute/core/CL/kernels/CLGatherKernel.h"
8389
#include "arm_compute/core/CL/kernels/CLGaussian3x3Kernel.h"
8490
#include "arm_compute/core/CL/kernels/CLGaussian5x5Kernel.h"
8591
#include "arm_compute/core/CL/kernels/CLGaussianPyramidKernel.h"
@@ -110,20 +116,25 @@
110116
#include "arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h"
111117
#include "arm_compute/core/CL/kernels/CLROIAlignLayerKernel.h"
112118
#include "arm_compute/core/CL/kernels/CLROIPoolingLayerKernel.h"
119+
#include "arm_compute/core/CL/kernels/CLRangeKernel.h"
113120
#include "arm_compute/core/CL/kernels/CLReductionOperationKernel.h"
114121
#include "arm_compute/core/CL/kernels/CLRemapKernel.h"
115122
#include "arm_compute/core/CL/kernels/CLReorgLayerKernel.h"
116123
#include "arm_compute/core/CL/kernels/CLReshapeLayerKernel.h"
124+
#include "arm_compute/core/CL/kernels/CLReverseKernel.h"
117125
#include "arm_compute/core/CL/kernels/CLScaleKernel.h"
118126
#include "arm_compute/core/CL/kernels/CLScharr3x3Kernel.h"
127+
#include "arm_compute/core/CL/kernels/CLSelectKernel.h"
119128
#include "arm_compute/core/CL/kernels/CLSobel3x3Kernel.h"
120129
#include "arm_compute/core/CL/kernels/CLSobel5x5Kernel.h"
121130
#include "arm_compute/core/CL/kernels/CLSobel7x7Kernel.h"
122131
#include "arm_compute/core/CL/kernels/CLSoftmaxLayerKernel.h"
123132
#include "arm_compute/core/CL/kernels/CLSpaceToBatchLayerKernel.h"
133+
#include "arm_compute/core/CL/kernels/CLStackLayerKernel.h"
124134
#include "arm_compute/core/CL/kernels/CLStridedSliceKernel.h"
125135
#include "arm_compute/core/CL/kernels/CLTableLookupKernel.h"
126136
#include "arm_compute/core/CL/kernels/CLThresholdKernel.h"
137+
#include "arm_compute/core/CL/kernels/CLTileKernel.h"
127138
#include "arm_compute/core/CL/kernels/CLTransposeKernel.h"
128139
#include "arm_compute/core/CL/kernels/CLUpsampleLayerKernel.h"
129140
#include "arm_compute/core/CL/kernels/CLWarpAffineKernel.h"

arm_compute/core/CL/ICLArray.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016-2018 ARM Limited.
2+
* Copyright (c) 2016-2019 ARM Limited.
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -121,8 +121,6 @@ using ICLKeyPointArray = ICLArray<KeyPoint>;
121121
using ICLCoordinates2DArray = ICLArray<Coordinates2D>;
122122
/** Interface for OpenCL Array of Detection Windows. */
123123
using ICLDetectionWindowArray = ICLArray<DetectionWindow>;
124-
/** Interface for OpenCL Array of ROIs. */
125-
using ICLROIArray = ICLArray<ROI>;
126124
/** Interface for OpenCL Array of 2D Sizes. */
127125
using ICLSize2DArray = ICLArray<Size2D>;
128126
/** Interface for OpenCL Array of uint8s. */

arm_compute/core/CL/kernels/CLArithmeticAdditionKernel.h

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)