Skip to content

Commit d8bf9b5

Browse files
author
Jenkins
committed
Compute Library v23.02.1
1 parent cfb1c30 commit d8bf9b5

File tree

13 files changed

+147
-44
lines changed

13 files changed

+147
-44
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ build --flag_alias=debug=//:debug
3636
build --flag_alias=logging=//:logging
3737
build --flag_alias=openmp=//:openmp
3838
build --flag_alias=cppthreads=//:cppthreads
39+
build --flag_alias=enable_bf16_validation=//:enable_bf16_validation

BUILD.bazel

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ bool_flag(
6666
visibility = ["//visibility:public"],
6767
)
6868

69+
bool_flag(
70+
name = "enable_bf16_validation",
71+
build_setting_default = False,
72+
visibility = ["//visibility:public"],
73+
)
74+
6975
#---------------------------------------------------------------------
7076
# Flag variables
7177
config_setting(
@@ -103,6 +109,14 @@ config_setting(
103109
},
104110
)
105111

112+
config_setting(
113+
name = "bf16_validation_flag",
114+
flag_values = {
115+
":enable_bf16_validation": "true",
116+
},
117+
)
118+
119+
106120
#---------------------------------------------------------------------
107121
# Common defines used for all targets
108122
cc_library(
@@ -112,7 +126,6 @@ cc_library(
112126
"ARM_COMPUTE_CPU_ENABLED",
113127
"ARM_COMPUTE_ENABLE_NEON",
114128
"ARM_COMPUTE_ENABLE_FP16",
115-
"ARM_COMPUTE_ENABLE_BF16",
116129
"ARM_COMPUTE_ENABLE_I8MM",
117130
"ENABLE_FP16_KERNELS",
118131
"ENABLE_FP32_KERNELS",
@@ -125,6 +138,9 @@ cc_library(
125138
"DARM_COMPUTE_GRAPH_ENABLED",
126139
"ARM_COMPUTE_ENABLE_SVEF32MM",
127140
"ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS",
141+
"ENABLE_SVE",
142+
"ARM_COMPUTE_ENABLE_SVE",
143+
"_GLIBCXX_USE_NANOSLEEP"
128144
] + select({
129145
"//:debug_flag": [
130146
"ARM_COMPUTE_DEBUG_ENABLED",
@@ -227,9 +243,8 @@ cc_library(
227243
"//conditions:default": [],
228244
}),
229245
local_defines = [
230-
"ENABLE_SVE",
231-
"ARM_COMPUTE_ENABLE_SVE",
232246
"ARM_COMPUTE_ENABLE_SVE2",
247+
"ARM_COMPUTE_ENABLE_BF16"
233248
],
234249
deps = [
235250
"//:common_defines",
@@ -277,8 +292,7 @@ cc_library(
277292
"//conditions:default": [],
278293
}),
279294
local_defines = [
280-
"ENABLE_SVE",
281-
"ARM_COMPUTE_ENABLE_SVE",
295+
"ARM_COMPUTE_ENABLE_BF16",
282296
],
283297
deps = [
284298
"//:common_defines",
@@ -333,6 +347,9 @@ cc_library(
333347
"//:openmp_flag": ["-fopenmp"],
334348
"//conditions:default": [],
335349
}),
350+
local_defines = [
351+
"ARM_COMPUTE_ENABLE_BF16",
352+
],
336353
visibility = ["//visibility:public"],
337354
deps = [
338355
"//:common_defines",
@@ -342,6 +359,8 @@ cc_library(
342359
"//include",
343360
"//support",
344361
"//utils",
362+
"//:arm_compute_sve",
363+
"//:arm_compute_sve2"
345364
],
346365
alwayslink = True,
347366
)

CMakeLists.txt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ set(COMMON_CXX_FLAGS
101101
-Wsign-promo
102102
-Weffc++
103103
-Wno-overlength-strings
104-
-Wno-ignored-attributes)
104+
-Wno-ignored-attributes
105+
-Wlogical-op
106+
-Wnoexcept
107+
-Wstrict-null-sentinel
108+
-Wno-misleading-indentation
109+
-O3)
105110

106111
# Disable note popups on compiler ABI changes
107112
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
@@ -143,9 +148,7 @@ endif()
143148
add_library(arm_compute_sve "")
144149
target_compile_options(arm_compute_sve
145150
PRIVATE "-march=armv8.2-a+sve+fp16+dotprod")
146-
target_compile_definitions(arm_compute_sve PRIVATE ENABLE_SVE)
147-
target_compile_definitions(arm_compute_sve PRIVATE ARM_COMPUTE_ENABLE_SVE)
148-
151+
target_compile_definitions(arm_compute_sve PRIVATE ARM_COMPUTE_ENABLE_BF16)
149152
target_include_directories(
150153
arm_compute_sve
151154
PUBLIC $<INSTALL_INTERFACE:include>
@@ -165,10 +168,8 @@ target_include_directories(
165168
add_library(arm_compute_sve2 "")
166169
target_compile_options(arm_compute_sve2
167170
PRIVATE "-march=armv8.6-a+sve2+fp16+dotprod")
168-
target_compile_definitions(arm_compute_sve2 PRIVATE ENABLE_SVE)
169-
target_compile_definitions(arm_compute_sve2 PRIVATE ARM_COMPUTE_ENABLE_SVE)
170171
target_compile_definitions(arm_compute_sve2 PRIVATE ARM_COMPUTE_ENABLE_SVE2)
171-
172+
target_compile_definitions(arm_compute_sve2 PRIVATE ARM_COMPUTE_ENABLE_BF16)
172173
target_include_directories(
173174
arm_compute_sve2
174175
PUBLIC $<INSTALL_INTERFACE:include>
@@ -187,6 +188,7 @@ target_include_directories(
187188

188189
add_library(arm_compute_core "")
189190
target_compile_options(arm_compute_core PRIVATE "-march=armv8.2-a+fp16")
191+
target_compile_definitions(arm_compute_core PRIVATE ARM_COMPUTE_ENABLE_BF16)
190192
target_include_directories(
191193
arm_compute_core
192194
PUBLIC $<INSTALL_INTERFACE:include>
@@ -201,6 +203,8 @@ target_include_directories(
201203
target_compile_options(arm_compute_core PUBLIC ${COMMON_CXX_FLAGS})
202204

203205
add_library(ArmCompute::Core ALIAS arm_compute_core)
206+
target_link_libraries(
207+
arm_compute_core PUBLIC arm_compute_sve arm_compute_sve2)
204208

205209
# ---------------------------------------------------------------------
206210
# Graph Library
@@ -255,7 +259,9 @@ if(BUILD_TESTING)
255259

256260
add_executable(arm_compute_validation "")
257261
target_compile_options(arm_compute_validation PRIVATE "-march=armv8.2-a+fp16")
258-
262+
if(ENABLE_BF16_VALIDATION)
263+
target_compile_definitions(arm_compute_validation PRIVATE ARM_COMPUTE_ENABLE_BF16)
264+
endif()
259265
add_subdirectory(tests/validation)
260266
target_compile_options(arm_compute_validation PUBLIC ${COMMON_CXX_FLAGS})
261267
set_target_properties(

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Please read https://arm-software.github.io/ComputeLibrary/latest/contribution_guidelines.xhtml
1+
Please read https://arm-software.github.io/ComputeLibrary/v23.02.1/contribution_guidelines.xhtml
22

33
Here on github we only publish a snapshot of the main development branch for each release, that's the reason why we don't accept pull requests.
44

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
> **⚠ Important**
3-
> From release 22.05: 'master' branch has been replaced with 'main' following our inclusive language update, more information [here](https://arm-software.github.io/ComputeLibrary/latest/contribution_guidelines.xhtml#S5_0_inc_lang).
3+
> From release 22.05: 'master' branch has been replaced with 'main' following our inclusive language update, more information [here](https://arm-software.github.io/ComputeLibrary/v23.02.1/contribution_guidelines.xhtml#S5_0_inc_lang).
44
55
> **⚠ Important**
66
> From release 22.08: armv7a with Android build will no longer be tested or maintained.
@@ -16,7 +16,7 @@
1616
<img src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png"/><br><br>
1717
</div>
1818

19-
# Compute Library ![](https://img.shields.io/badge/latest_release-23.02-green)
19+
# Compute Library ![](https://img.shields.io/badge/latest_release-23.02.1-green)
2020

2121

2222
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>
@@ -44,7 +44,7 @@ Key Features:
4444
<br>
4545

4646
## Documentation
47-
[![Documentation](https://img.shields.io/badge/documentation-23.02-green)](https://arm-software.github.io/ComputeLibrary/latest)
47+
[![Documentation](https://img.shields.io/badge/documentation-23.02.1-green)](https://arm-software.github.io/ComputeLibrary/v23.02.1)
4848

4949
> Note: The documentation includes the reference API, changelogs, build guide, contribution guide, errata, etc.
5050
@@ -57,24 +57,24 @@ All the binaries can be downloaded from [here](https://github.com/ARM-software/C
5757

5858
| Platform | Operating System | Release archive (Download) |
5959
| -------------- | ---------------- | -------------------------- |
60-
| Raspberry Pi 4 | Linux 32bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-armv7a-neon.tar.gz) |
61-
| Raspberry Pi 4 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon.tar.gz) |
62-
| Odroid N2 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon-cl.tar.gz) |
63-
| HiKey960 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon-cl.tar.gz) |
60+
| Raspberry Pi 4 | Linux 32bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-armv7a-neon.tar.gz) |
61+
| Raspberry Pi 4 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon.tar.gz) |
62+
| Odroid N2 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon-cl.tar.gz) |
63+
| HiKey960 | Linux 64bit | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon-cl.tar.gz) |
6464

6565
<br>
6666

6767
| Architecture | Operating System | Release archive (Download) |
6868
| ------------ | ---------------- | -------------------------- |
69-
| armv7 | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-armv7a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-armv7a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-armv7a-neon-cl.tar.gz) |
70-
| arm64-v8a | Android | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8a-neon-cl.tar.gz) |
71-
| arm64-v8a | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8a-neon-cl.tar.gz) |
72-
| arm64-v8.2-a | Android | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8.2-a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8.2-a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-android-arm64-v8.2-a-neon-cl.tar.gz) |
73-
| arm64-v8.2-a | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8.2-a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8.2-a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02/arm_compute-v23.02-bin-linux-arm64-v8.2-a-neon-cl.tar.gz) |
69+
| armv7 | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-armv7a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-armv7a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-armv7a-neon-cl.tar.gz) |
70+
| arm64-v8a | Android | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8a-neon-cl.tar.gz) |
71+
| arm64-v8a | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8a-neon-cl.tar.gz) |
72+
| arm64-v8.2-a | Android | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8.2-a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8.2-a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-android-arm64-v8.2-a-neon-cl.tar.gz) |
73+
| arm64-v8.2-a | Linux | [![](https://img.shields.io/badge/build-neon-orange)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8.2-a-neon.tar.gz) [![](https://img.shields.io/badge/build-opencl-blue)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8.2-a-cl.tar.gz) [![](https://img.shields.io/badge/build-neon+cl-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/download/v23.02.1/arm_compute-v23.02.1-bin-linux-arm64-v8.2-a-neon-cl.tar.gz) |
7474

7575
<br>
7676

77-
Please refer to the following link for more pre-built binaries: [![](https://img.shields.io/badge/v23.02-bins-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/tag/v23.02)
77+
Please refer to the following link for more pre-built binaries: [![](https://img.shields.io/badge/v23.02.1-bins-yellowgreen)](https://github.com/ARM-software/ComputeLibrary/releases/tag/v23.02.1)
7878

7979
Pre-build binaries are generated with the following security / good coding practices related flags:
8080
> -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
@@ -116,13 +116,13 @@ Pre-build binaries are generated with the following security / good coding pract
116116

117117
## Experimental builds
118118

119-
**⚠ Important** Bazel and CMake builds are experimental CPU only builds, please see the [documentation](https://arm-software.github.io/ComputeLibrary/latest/how_to_build.xhtml) for more details.
119+
**⚠ Important** Bazel and CMake builds are experimental CPU only builds, please see the [documentation](https://arm-software.github.io/ComputeLibrary/v23.02.1/how_to_build.xhtml) for more details.
120120

121121
<br>
122122

123123
## How to contribute
124124

125-
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://arm-software.github.io/ComputeLibrary/latest/contribution_guidelines.xhtml).
125+
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://arm-software.github.io/ComputeLibrary/v23.02.1/contribution_guidelines.xhtml).
126126

127127
### Developer Certificate of Origin (DCO)
128128
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ import zlib
3131
import json
3232
import codecs
3333

34-
VERSION = "v23.02"
34+
VERSION = "v23.02.1"
3535
LIBRARY_VERSION_MAJOR = 30
3636
LIBRARY_VERSION_MINOR = 0
37-
LIBRARY_VERSION_PATCH = 0
37+
LIBRARY_VERSION_PATCH = 1
3838
SONAME_VERSION = str(LIBRARY_VERSION_MAJOR) + "." + str(LIBRARY_VERSION_MINOR) + "." + str(LIBRARY_VERSION_PATCH)
3939

4040
Import('env')

cmake/Options.cmake

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ endif()
5050
# ---------------------------------------------------------------------
5151
# Backends
5252

53-
# TODO Add help string for each setting (Should user be able to )
5453
option(ENABLE_NEON "Enable Arm® Neon™ support" ON)
5554
option(ARM_COMPUTE_CPU_ENABLED "" ON)
5655
option(ARM_COMPUTE_ENABLE_NEON "" ON)
@@ -65,11 +64,12 @@ option(ENABLE_INTEGER_KERNELS "" ON)
6564
option(ENABLE_NHWC_KERNELS "" ON)
6665
option(ENABLE_NCHW_KERNELS "" ON)
6766
option(ARM_COMPUTE_GRAPH_ENABLED "" ON)
68-
option(ARM_COMPUTE_ENABLE_BF16 "" ON)
6967
option(ARM_COMPUTE_ENABLE_SVEF32MM "" ON)
7068
option(ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS "" ON)
69+
option(ENABLE_SVE "" ON)
70+
option(ARM_COMPUTE_ENABLE_SVE "" ON)
71+
option(ENABLE_BF16_VALIDATION "" OFF)
7172

72-
# TODO Check if this is required
7373
if(ENABLE_NEON)
7474
add_definitions(-DENABLE_NEON)
7575
endif()
@@ -121,3 +121,10 @@ endif()
121121
if(ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS)
122122
add_definitions(-DARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS)
123123
endif()
124+
if(ENABLE_SVE)
125+
add_definitions(-DENABLE_SVE)
126+
endif()
127+
if(ARM_COMPUTE_ENABLE_SVE)
128+
add_definitions(-DARM_COMPUTE_ENABLE_SVE)
129+
endif()
130+
add_definitions(-D_GLIBCXX_USE_NANOSLEEP)

0 commit comments

Comments
 (0)