Skip to content

Commit f2b3ebf

Browse files
author
Jenkins
committed
Compute Library v52.1.0
1 parent e73bb0d commit f2b3ebf

File tree

28 files changed

+861
-194
lines changed

28 files changed

+861
-194
lines changed

Android.bp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ cc_library_static {
10051005
"src/runtime/experimental/operators/CpuGemmDirectConv2d.cpp",
10061006
"src/runtime/experimental/operators/CpuMeanStdDevNormalization.cpp",
10071007
"src/runtime/experimental/operators/CpuMul.cpp",
1008+
"src/runtime/experimental/operators/CpuPool2d.cpp",
10081009
"src/runtime/experimental/operators/CpuQuantize.cpp",
10091010
"src/runtime/experimental/operators/CpuSoftmax.cpp",
10101011
"src/runtime/experimental/operators/CpuSub.cpp",

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
2424

2525
project(
2626
ArmCompute
27-
VERSION 52.0.1
27+
VERSION 52.1.0
2828
DESCRIPTION
2929
"The Compute Library is a collection of low-level machine learning functions \
3030
optimized for Arm® Cortex®-A, Arm® Neoverse™ CPU and Arm® Mali™ GPU \

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png"/><br><br>
1515
</div>
1616

17-
# Compute Library ![](https://img.shields.io/badge/latest_release-52.0.1-green)
17+
# Compute Library ![](https://img.shields.io/badge/latest_release-52.1.0-green)
1818

1919

2020
The Compute Library is a collection of low-level machine learning functions optimized for Arm® Cortex®-A, Arm® Neoverse™ and Arm® Mali™ GPUs architectures.<br>
@@ -42,7 +42,7 @@ Key Features:
4242
<br>
4343

4444
## Documentation
45-
[![Documentation](https://img.shields.io/badge/documentation-52.0.1-green)](https://artificial-intelligence.sites.arm.com/computelibrary/v52.0.1/index.xhtml)
45+
[![Documentation](https://img.shields.io/badge/documentation-52.1.0-green)](https://artificial-intelligence.sites.arm.com/computelibrary/v52.1.0/index.xhtml)
4646

4747
> Note: The documentation includes the reference API, changelogs, build guide, contribution guide, errata, etc.
4848
@@ -55,22 +55,22 @@ All the binaries can be downloaded from [here](https://github.com/ARM-software/C
5555

5656
| Platform | Operating System | Release archive (Download) |
5757
| -------------- | ---------------- | -------------------------- |
58-
| Raspberry Pi 4 | Linux® 32bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-armv7a-cpu-bin.tar.gz) |
59-
| Raspberry Pi 4 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-bin.tar.gz) |
60-
| Odroid N2 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-gpu-bin.tar.gz) |
61-
| HiKey960 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-gpu-bin.tar.gz) |
58+
| Raspberry Pi 4 | Linux® 32bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-armv7a-cpu-bin.tar.gz) |
59+
| Raspberry Pi 4 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-bin.tar.gz) |
60+
| Odroid N2 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-gpu-bin.tar.gz) |
61+
| HiKey960 | Linux® 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-gpu-bin.tar.gz) |
6262

6363
<br>
6464

6565
| Architecture | Operating System | Release archive (Download) |
6666
| ------------ | ---------------- | -------------------------- |
67-
| armv7 | Linux® | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-armv7a-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-armv7a-cpu-gpu-bin.tar.gz) |
68-
| arm64-v8a | Android™ | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-android-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-android-aarch64-cpu-gpu-bin.tar.gz) |
69-
| arm64-v8a | Linux® | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.0.1/arm_compute-v52.0.1-linux-aarch64-cpu-gpu-bin.tar.gz) |
67+
| armv7 | Linux® | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-armv7a-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-armv7a-cpu-gpu-bin.tar.gz) |
68+
| arm64-v8a | Android™ | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-android-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-android-aarch64-cpu-gpu-bin.tar.gz) |
69+
| arm64-v8a | Linux® | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-bin.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v52.1.0/arm_compute-v52.1.0-linux-aarch64-cpu-gpu-bin.tar.gz) |
7070

7171
<br>
7272

73-
Please refer to the following link for more pre-built binaries: [![](https://img.shields.io/badge/v52.0.1-bins-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/tag/v52.0.1)
73+
Please refer to the following link for more pre-built binaries: [![](https://img.shields.io/badge/v52.1.0-bins-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/tag/v52.1.0)
7474

7575
Pre-build binaries are generated with the following security / good coding practices related flags:
7676
> -Wall, -Wextra, -Wformat=2, -Winit-self, -Wstrict-overflow=2, -Wswitch-default, -Woverloaded-virtual, -Wformat-security, -Wctor-dtor-privacy, -Wsign-promo, -Weffc++, -pedantic, -fstack-protector-strong
@@ -113,13 +113,13 @@ Pre-build binaries are generated with the following security / good coding pract
113113

114114
## Experimental builds
115115

116-
**⚠ Important** Bazel and CMake builds are experimental CPU only builds, please see the [documentation](https://artificial-intelligence.sites.arm.com/computelibrary/v52.0.1/how_to_build.xhtml) for more details.
116+
**⚠ Important** Bazel and CMake builds are experimental CPU only builds, please see the [documentation](https://artificial-intelligence.sites.arm.com/computelibrary/v52.1.0/how_to_build.xhtml) for more details.
117117

118118
<br>
119119

120120
## How to contribute
121121

122-
Contributions to the Compute Library are more than welcome. If you are interested on contributing, please have a look at our [how to contribute guidelines](https://artificial-intelligence.sites.arm.com/computelibrary/v52.0.1/contribution_guidelines.xhtml).
122+
Contributions to the Compute Library are more than welcome. If you are interested on contributing, please have a look at our [how to contribute guidelines](https://artificial-intelligence.sites.arm.com/computelibrary/v52.1.0/contribution_guidelines.xhtml).
123123

124124
### Developer Certificate of Origin (DCO)
125125
Before the Compute Library 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/)

SConscript

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import codecs
3333
import platform
3434
import SCons
3535

36-
VERSION = "v52.0.1"
36+
VERSION = "v52.1.0"
3737
LIBRARY_VERSION_MAJOR = 52
38-
LIBRARY_VERSION_MINOR = 0
39-
LIBRARY_VERSION_PATCH = 1
38+
LIBRARY_VERSION_MINOR = 1
39+
LIBRARY_VERSION_PATCH = 0
4040
SONAME_VERSION = str(LIBRARY_VERSION_MAJOR) + "." + str(LIBRARY_VERSION_MINOR) + "." + str(LIBRARY_VERSION_PATCH)
4141

4242
Import('env')
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* Copyright (c) 2017-2020, 2024-2025 Arm Limited.
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to
8+
* deal in the Software without restriction, including without limitation the
9+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10+
* sell copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
24+
25+
#ifndef ACL_ARM_COMPUTE_RUNTIME_EXPERIMENTAL_OPERATORS_CPUPOOL2D_H
26+
#define ACL_ARM_COMPUTE_RUNTIME_EXPERIMENTAL_OPERATORS_CPUPOOL2D_H
27+
28+
#include "arm_compute/core/TensorInfo.h"
29+
#include "arm_compute/core/Types.h" // required for PoolingLayerInfo
30+
#include "arm_compute/runtime/NEON/INEOperator.h"
31+
32+
#include <memory>
33+
34+
namespace arm_compute
35+
{
36+
namespace experimental
37+
{
38+
namespace op
39+
{
40+
41+
/*
42+
* A shallow wrapper for arm_compute::cpu::CpuPool2d.
43+
* Any new features should be added to arm_compute::cpu::CpuPool2d,
44+
* and arm_compute::experimental::op::CpuPool2d should remain a shallow wrapper.
45+
* Note this is not thread safe therefore no thread safety tests provided.
46+
*/
47+
class CpuPool2d : public INEOperator
48+
{
49+
public:
50+
/** Constructor **/
51+
CpuPool2d();
52+
/** Prevent instances of this class from being copied (As this class contains pointers) **/
53+
CpuPool2d(const CpuPool2d &) = delete;
54+
/** Prevent copy assignment **/
55+
CpuPool2d &operator=(const CpuPool2d &) = delete;
56+
/** Default move constructor **/
57+
CpuPool2d(CpuPool2d &&) = default;
58+
/** Default move assignment **/
59+
CpuPool2d &operator=(CpuPool2d &&) = default;
60+
/** Default destructor **/
61+
~CpuPool2d() override;
62+
/** Set the src and dst tensors.
63+
*
64+
* Valid data layouts:
65+
* - NHWC
66+
* - NCHW
67+
*
68+
* Valid data type configurations:
69+
* |src |dst |
70+
* |:--------------|:--------------|
71+
* |QASYMM8 |QASYMM8 |
72+
* |QASYMM8_SIGNED |QASYMM8_SIGNED |
73+
* |F16 |F16 |
74+
* |F32 |F32 |
75+
*
76+
* @note F16 is supported for pool sizes 2 and 3 only
77+
* @note Source tensor is padded with -inf for MAX pooling and 0 otherwise
78+
* Cases where pooling region is completely outside input tensor are only supported for floating point data type
79+
*
80+
* @param[in, out] src Source tensor info. (Written to only when padding != 0) Data types supported: QASYMM8/QASYMM8_SIGNED/F16/F32.
81+
* @param[out] dst Destination tensor info. Data types supported: same as @p src.
82+
* @param[in] pool_info Contains pooling operation information described in @ref PoolingLayerInfo.
83+
* @param[out] indices (optional) The indices of the maximal values. Data type supported: U32.
84+
*/
85+
void
86+
configure(ITensorInfo *src, ITensorInfo *dst, const PoolingLayerInfo &pool_info, ITensorInfo *indices = nullptr);
87+
/** Static function to check if given info will lead to a valid configuration
88+
*
89+
* Similar to @ref CpuPool2d::configure()
90+
*/
91+
92+
static Status validate(const ITensorInfo *src,
93+
const ITensorInfo *dst,
94+
const PoolingLayerInfo &pool_info,
95+
const ITensorInfo *indices = nullptr);
96+
97+
// Inherited methods overridden:
98+
void run(ITensorPack &tensors) override;
99+
experimental::MemoryRequirements workspace() const override;
100+
101+
private:
102+
struct Impl;
103+
std::unique_ptr<Impl> impl_;
104+
};
105+
} // namespace op
106+
} //namespace experimental
107+
} // namespace arm_compute
108+
#endif // ACL_ARM_COMPUTE_RUNTIME_EXPERIMENTAL_OPERATORS_CPUPOOL2D_H

docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ PROJECT_NAME = "Compute Library"
6060
# could be handy for archiving the generated documentation or if some version
6161
# control system is used.
6262

63-
PROJECT_NUMBER = 52.0.1
63+
PROJECT_NUMBER = 52.1.0
6464

6565
# Using the PROJECT_BRIEF tag one can provide an optional one line description
6666
# for a project that appears at the top of each page and should give viewer a

filelist.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,7 @@
16261626
"src/runtime/experimental/operators/CpuMul.cpp",
16271627
"src/runtime/experimental/operators/CpuQuantize.cpp",
16281628
"src/runtime/experimental/operators/CpuSoftmax.cpp",
1629+
"src/runtime/experimental/operators/CpuPool2d.cpp",
16291630
"src/runtime/experimental/operators/CpuSub.cpp",
16301631
"src/runtime/experimental/operators/CpuTranspose.cpp",
16311632
"src/runtime/experimental/operators/CpuWinogradConv2d.cpp"

src/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ filegroup(
994994
"runtime/experimental/operators/CpuGemmDirectConv2d.cpp",
995995
"runtime/experimental/operators/CpuMeanStdDevNormalization.cpp",
996996
"runtime/experimental/operators/CpuMul.cpp",
997+
"runtime/experimental/operators/CpuPool2d.cpp",
997998
"runtime/experimental/operators/CpuQuantize.cpp",
998999
"runtime/experimental/operators/CpuSoftmax.cpp",
9991000
"runtime/experimental/operators/CpuSub.cpp",

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@ target_sources(
987987
runtime/experimental/operators/CpuGemmDirectConv2d.cpp
988988
runtime/experimental/operators/CpuMeanStdDevNormalization.cpp
989989
runtime/experimental/operators/CpuMul.cpp
990+
runtime/experimental/operators/CpuPool2d.cpp
990991
runtime/experimental/operators/CpuQuantize.cpp
991992
runtime/experimental/operators/CpuSoftmax.cpp
992993
runtime/experimental/operators/CpuSub.cpp

0 commit comments

Comments
 (0)