Skip to content

Commit

Permalink
cpu: aarch64: Bump min ACL version to v23.02
Browse files Browse the repository at this point in the history
  • Loading branch information
jondea authored and mgouicem committed Apr 11, 2023
1 parent 376817d commit fafc2e5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/automation/.drone.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *******************************************************************************
# Copyright 2020-2022 Arm Limited and affiliates.
# Copyright 2020-2023 Arm Limited and affiliates.
# Copyright 2020-2021 FUJITSU LIMITED
# SPDX-License-Identifier: Apache-2.0
#
Expand Down Expand Up @@ -29,7 +29,7 @@ steps:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update && apt-get install -y git build-essential cmake scons gcc-10 g++-10
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 1 && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 1
- .github/automation/build_acl.sh --version 22.08 --arch armv8a --multi_isa --root-dir $(pwd)/ComputeLibrary
- .github/automation/build_acl.sh --version 23.02 --arch armv8a --multi_isa --root-dir $(pwd)/ComputeLibrary
- .github/automation/build.sh --threading omp --mode Release --source-dir $(pwd) --build-dir $(pwd)/build --acl-dir $(pwd)/ComputeLibrary
- .github/automation/test.sh --test-kind gtest --build-dir $(pwd)/build --report-dir $(pwd)/report

Expand Down Expand Up @@ -83,7 +83,7 @@ steps:
- .github/automation/env/clang.sh
- export CC=clang
- export CXX=clang++
- .github/automation/build_acl.sh --version 22.08 --arch armv8a --root-dir $(pwd)/ComputeLibrary
- .github/automation/build_acl.sh --version 23.02 --arch armv8a --root-dir $(pwd)/ComputeLibrary
- .github/automation/build.sh --threading omp --mode Release --source-dir $(pwd) --build-dir $(pwd)/build --acl-dir $(pwd)/ComputeLibrary
- .github/automation/test.sh --test-kind gtest --build-dir $(pwd)/build --report-dir $(pwd)/report

Expand Down Expand Up @@ -114,7 +114,7 @@ steps:
image: ubuntu:18.04
commands:
- apt-get update && apt-get install -y git build-essential cmake scons
- .github/automation/build_acl.sh --version 22.08 --arch armv8a --root-dir $(pwd)/ComputeLibrary
- .github/automation/build_acl.sh --version 23.02 --arch armv8a --root-dir $(pwd)/ComputeLibrary
- .github/automation/build.sh --threading omp --mode Release --source-dir $(pwd) --build-dir $(pwd)/build --acl-dir $(pwd)/ComputeLibrary
- .github/automation/test.sh --test-kind gtest --build-dir $(pwd)/build --report-dir $(pwd)/report

Expand Down
4 changes: 2 additions & 2 deletions .github/automation/build_acl.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# *******************************************************************************
# Copyright 2020-2022 Arm Limited and affiliates.
# Copyright 2020-2023 Arm Limited and affiliates.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,7 +18,7 @@
# *******************************************************************************

# Compute Library build defaults
ACL_VERSION="v22.08"
ACL_VERSION="v23.02"
ACL_DIR="${PWD}/ComputeLibrary"
ACL_ARCH="armv8a"
ACL_MULTI_ISA_SUPPORT=0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ integration. Compute Library is an open-source library for machine learning appl
and provides AArch64 optimized implementations of core functions. This functionality currently
requires that Compute Library is downloaded and built separately, see
[Build from Source](https://oneapi-src.github.io/oneDNN/dev_guide_build.html).
oneDNN only supports Compute Library versions 22.08 or later.
oneDNN only supports Compute Library versions 23.02 or later.

> **WARNING**
>
Expand Down
4 changes: 2 additions & 2 deletions cmake/ACL.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ******************************************************************************
# Copyright 2020-2022 Arm Limited and affiliates.
# Copyright 2020-2023 Arm Limited and affiliates.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -31,7 +31,7 @@ endif()

find_package(ACL REQUIRED)

set(ACL_MINIMUM_VERSION "22.08")
set(ACL_MINIMUM_VERSION "23.02")

if(ACL_FOUND)
file(GLOB_RECURSE ACL_VERSION_FILE $ENV{ACL_ROOT_DIR}/*/arm_compute_version.embed)
Expand Down
2 changes: 1 addition & 1 deletion doc/build/build_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ For a debug build of oneDNN it is advisable to specify a Compute Library build
which has also been built with debug enabled.

@warning
oneDNN only supports builds with Compute Library v22.08 or later.
oneDNN only supports builds with Compute Library v23.02 or later.

#### Vendor BLAS libraries
oneDNN can use a standard BLAS library for GEMM operations.
Expand Down

0 comments on commit fafc2e5

Please sign in to comment.