Compare commits

...

2 Commits

Author SHA1 Message Date
4b639c3c64 acl upgrade 2025-09-18 08:24:28 +00:00
e8ed2024e7 Upgrade oneDNN to v3.9
Fix CI failures

Fix bazel build failure

update
2025-09-18 08:24:28 +00:00
5 changed files with 14 additions and 11 deletions

View File

@ -41,7 +41,7 @@ def build_ArmComputeLibrary() -> None:
"clone",
"https://github.com/ARM-software/ComputeLibrary.git",
"-b",
"v25.02",
"v52.1.0",
"--depth",
"1",
"--shallow-submodules",

View File

@ -327,7 +327,7 @@ def build_ArmComputeLibrary(host: RemoteHost, git_clone_flags: str = "") -> None
]
)
host.run_cmd(
f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v25.02 {git_clone_flags}"
f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v52.1.0 {git_clone_flags}"
)
host.run_cmd(f"cd ComputeLibrary && scons Werror=1 -j8 {acl_build_flags}")

View File

@ -1,6 +1,6 @@
set -euo pipefail
readonly version=v25.02
readonly version=v52.1.0
readonly src_host=https://github.com/ARM-software
readonly src_repo=ComputeLibrary

View File

@ -15,9 +15,10 @@ _DNNL_RUNTIME_OMP = {
"#cmakedefine DNNL_ENABLE_STACK_CHECKER": "#undef DNNL_ENABLE_STACK_CHECKER",
"#cmakedefine DNNL_EXPERIMENTAL_UKERNEL": "/* undef DNNL_EXPERIMENTAL_UKERNEL */",
"#cmakedefine DNNL_EXPERIMENTAL": "#undef DNNL_EXPERIMENTAL",
"#cmakedefine DNNL_EXPERIMENTAL_SPARSE": "#undef DNNL_EXPERIMENTAL_SPARSE",
"#cmakedefine ONEDNN_BUILD_GRAPH": "#undef ONEDNN_BUILD_GRAPH",
"#cmakedefine DNNL_EXPERIMENTAL_PROFILING": "#undef DNNL_EXPERIMENTAL_PROFILING",
"#cmakedefine DNNL_EXPERIMENTAL_LOGGING": "#undef DNNL_EXPERIMENTAL_LOGGING",
"#cmakedefine DNNL_EXPERIMENTAL_SYCL_KERNEL_COMPILER": "#undef DNNL_EXPERIMENTAL_SYCL_KERNEL_COMPILER",
"#cmakedefine DNNL_DISABLE_GPU_REF_KERNELS": "#undef DNNL_DISABLE_GPU_REF_KERNELS",
"#cmakedefine01 BUILD_TRAINING": "#define BUILD_TRAINING 1",
"#cmakedefine01 BUILD_INFERENCE": "#define BUILD_INFERENCE 0",
@ -49,8 +50,6 @@ _DNNL_RUNTIME_OMP = {
"#cmakedefine01 BUILD_AVX512": "#define BUILD_AVX512 0",
"#cmakedefine01 BUILD_AMX": "#define BUILD_AMX 0",
"#cmakedefine01 BUILD_PRIMITIVE_GPU_ISA_ALL": "#define BUILD_PRIMITIVE_GPU_ISA_ALL 1",
"#cmakedefine01 BUILD_GEN9": "#define BUILD_GEN9 0",
"#cmakedefine01 BUILD_GEN11": "#define BUILD_GEN11 0",
"#cmakedefine01 BUILD_XELP": "#define BUILD_XELP 0",
"#cmakedefine01 BUILD_XEHPG": "#define BUILD_XEHPG 0",
"#cmakedefine01 BUILD_XEHPC": "#define BUILD_XEHPC 0",
@ -70,7 +69,7 @@ template_rule(
out = "include/oneapi/dnnl/dnnl_version.h",
substitutions = {
"@DNNL_VERSION_MAJOR@": "3",
"@DNNL_VERSION_MINOR@": "7",
"@DNNL_VERSION_MINOR@": "9",
"@DNNL_VERSION_PATCH@": "1",
},
)
@ -86,7 +85,7 @@ template_rule(
name = "include_dnnl_version_hash",
src = "include/oneapi/dnnl/dnnl_version_hash.h.in",
out = "include/oneapi/dnnl/dnnl_version_hash.h",
substitutions = {"@DNNL_VERSION_HASH@": "8d263e693366ef8db40acc569cc7d8edf644556d",}
substitutions = {"@DNNL_VERSION_HASH@": "80a3a8e745d2f0186e674b0af9332fd6e074c94f",}
)
cc_library(
@ -99,6 +98,7 @@ cc_library(
"src/cpu/aarch64/**/*.cpp",
"src/cpu/rv64/**/*.cpp",
"src/cpu/sycl/**/*.cpp",
"src/cpu/ppc64/**/*.cpp",
]),
hdrs = glob([
"include/oneapi/dnnl/*.h",
@ -110,13 +110,16 @@ cc_library(
"src/cpu/**/**/*.h",
"src/common/*.hpp",
"src/common/**/**/*.h",
"src/common/ittnotify/jitprofiling.h",
"third_party/xbyak/*.h",
"third_party/ittnotify/jitprofiling.h",
"third_party/spdlog/**/*.h",
], exclude=[
"src/cpu/aarch64/**/*.hpp",
"src/cpu/aarch64/**/*.h",
"src/cpu/rv64/**/*.hpp",
"src/cpu/rv64/**/*.h",
"src/cpu/sycl/**/*.hpp",
"src/cpu/ppc64/**/*.hpp",
]) + [
"include/oneapi/dnnl/dnnl_config.h",
"include/oneapi/dnnl/dnnl_version.h",
@ -141,7 +144,7 @@ cc_library(
"src/",
"src/common/",
"src/cpu/",
"src/cpu/x64/xbyak/",
"third_party/",
],
visibility = ["//visibility:public"],
linkopts = [