diff --git a/onednn-1045.patch b/onednn-1045.patch new file mode 100644 index 0000000..2c3ae20 --- /dev/null +++ b/onednn-1045.patch @@ -0,0 +1,21 @@ +From a94acd4e2dfaf51552dd2a60b059df1c1f14e452 Mon Sep 17 00:00:00 2001 +From: Alexandre Truong +Date: Wed, 28 Apr 2021 10:32:35 +0100 +Subject: [PATCH] cpu: aarch64: missing include for arm_compute::Scheduler + +--- + src/cpu/aarch64/acl_indirect_gemm_convolution.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/cpu/aarch64/acl_indirect_gemm_convolution.hpp b/src/cpu/aarch64/acl_indirect_gemm_convolution.hpp +index 86d2bed73..040311f8c 100644 +--- a/src/cpu/aarch64/acl_indirect_gemm_convolution.hpp ++++ b/src/cpu/aarch64/acl_indirect_gemm_convolution.hpp +@@ -26,6 +26,7 @@ + + #include "arm_compute/runtime/FunctionDescriptors.h" + #include "arm_compute/runtime/NEON/NEFunctions.h" ++#include "arm_compute/runtime/Scheduler.h" + + namespace dnnl { + namespace impl { diff --git a/onednn-2.2.1.tar.gz b/onednn-2.2.1.tar.gz deleted file mode 100644 index 36f9a0b..0000000 --- a/onednn-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3faf3b7811dd37835169a9d5c57f17fd591f062029851186f9b11db117b9d1d9 -size 9533694 diff --git a/onednn-2.2.2.tar.gz b/onednn-2.2.2.tar.gz new file mode 100644 index 0000000..b29264a --- /dev/null +++ b/onednn-2.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01e651eb20ca1943bbdf756804fd02d13e5ff3c84b89e3aa5d40abdeb5bb07ee +size 9533876 diff --git a/onednn.changes b/onednn.changes index 3fe412d..d409fbf 100644 --- a/onednn.changes +++ b/onednn.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed May 26 13:29:27 UTC 2021 - Guillaume GARDET + +- Update to 2.2.2, changes: + * Fixed performance regression in fp32 forward inner product for + shapes with number of output channels equal to 1 for processors + with Intel AVX-512 support (714b1fd) + * Fixed performance regression in forward convolutions with groups + for processors with Intel AVX-512 support(3555d4a) + * Removed -std=c++11 build flag for DPC++ headers (1fcb867) + * Fixed buffer access in initializing workspace in RNN + implementation on GPU (9b03091) + * Fixed fix a bug in convolution with 1x1 kernel and mixed + strides on processors with Intel AVX-512 support (d0b3e3f) + * Used getauxval for Linux to get CPU features on for AArch64 + systems (25c4cea) + * Added -fp-model=precise build flag for DPC++ code (3e40e5e) + * Fixed out-of-bounds writes in elementwise primitive on + Intel Processor Graphics (bcf823c) +- Fix build with Arm Compute Library: + * onednn-1045.patch + ------------------------------------------------------------------- Tue Apr 13 07:53:16 UTC 2021 - Guillaume GARDET diff --git a/onednn.spec b/onednn.spec index 2a2e683..a65feba 100644 --- a/onednn.spec +++ b/onednn.spec @@ -31,12 +31,14 @@ %define libname libdnnl2 Name: onednn -Version: 2.2.1 +Version: 2.2.2 Release: 0 Summary: Intel(R) Math Kernel Library for Deep Neural Networks License: Apache-2.0 URL: https://01.org/onednn Source0: https://github.com/oneapi-src/oneDNN/archive/v%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM - https://github.com/oneapi-src/oneDNN/pull/1045 +Patch1: onednn-1045.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes