diff --git a/0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch b/0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch new file mode 100644 index 0000000..0a4d6df --- /dev/null +++ b/0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch @@ -0,0 +1,38 @@ +From cfbefd8d744d4cdcdf3dd2f18576f487b36911b6 Mon Sep 17 00:00:00 2001 +From: Denis Samoilov +Date: Fri, 2 Apr 2021 19:46:22 -0700 +Subject: [PATCH] common, gpu: include thread and limit headers to fix GCC 11 + build issues + +--- + src/common/primitive_cache.hpp | 1 + + src/gpu/jit/ngen/ngen_auto_swsb.hpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/common/primitive_cache.hpp b/src/common/primitive_cache.hpp +index 73cb1224f..05a3e53e5 100644 +--- a/src/common/primitive_cache.hpp ++++ b/src/common/primitive_cache.hpp +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + + #include "c_types_map.hpp" +diff --git a/src/gpu/jit/ngen/ngen_auto_swsb.hpp b/src/gpu/jit/ngen/ngen_auto_swsb.hpp +index de3417af3..62ef2a571 100644 +--- a/src/gpu/jit/ngen/ngen_auto_swsb.hpp ++++ b/src/gpu/jit/ngen/ngen_auto_swsb.hpp +@@ -33,6 +33,7 @@ + + #include + #include ++#include + + namespace ngen { + namespace autoswsb { +-- +2.26.2 + diff --git a/oneDNN-2.2.3.tar.gz b/oneDNN-2.2.3.tar.gz new file mode 100644 index 0000000..cc02d3a --- /dev/null +++ b/oneDNN-2.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07e5cc2a30e7bb5a381eba04f8579f427372132ed3d44363f5fd89850a7b50fd +size 9534138 diff --git a/onednn-2.2.2.tar.gz b/onednn-2.2.2.tar.gz deleted file mode 100644 index b29264a..0000000 --- a/onednn-2.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01e651eb20ca1943bbdf756804fd02d13e5ff3c84b89e3aa5d40abdeb5bb07ee -size 9533876 diff --git a/onednn.changes b/onednn.changes index 588e7f5..d3f4c24 100644 --- a/onednn.changes +++ b/onednn.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Jun 3 01:38:56 UTC 2021 - Ferdinand Thiessen + +- Update to version 2.2.3 + * Fixed a bug in int8 depthwise convolution ptimitive with groups + and 1d spatial size for processors with AVX-512 and AVX2 support + * Fixed correctness issue for PReLU primitive + * Fixed corretness issue in reorder for blocked layouts with + zero padding + * Improved performance of weights reorders used by BRGEMM-based + convolution primitive for processors with AVX-512 support + * Added -fp-model=precise build flag for DPC++ code + * Fixed potential memory leak in matmul primitive + * Fixed performance of matmul primitive when fused with bias + update and sum + * Fixed a bug in matmul primitive when writing to non-contiguous + destination buffer +- Add upstream patch for GCC11 support + * 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch + ------------------------------------------------------------------- Thu May 27 08:10:13 UTC 2021 - Jan Engelhardt diff --git a/onednn.spec b/onednn.spec index 5ac027a..23b8a88 100644 --- a/onednn.spec +++ b/onednn.spec @@ -31,14 +31,16 @@ %define libname libdnnl2 Name: onednn -Version: 2.2.2 +Version: 2.2.3 Release: 0 Summary: Intel 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 +Source0: https://github.com/oneapi-src/oneDNN/archive/v%{version}/oneDNN-%{version}.tar.gz +# PATCH-FIX-UPSTREAM onednn-1045.patch -- https://github.com/oneapi-src/oneDNN/pull/1045 +Patch0: onednn-1045.patch +# PATCH-FIX-UPSTREAM 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch +Patch1: 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes @@ -114,8 +116,7 @@ Intel MKL-DNN contains vectorized and threaded building blocks that you can use to implement deep neural networks (DNN) with C and C++ interfaces. %prep -%setup -q -n oneDNN-%{version} -%autopatch -p1 +%autosetup -p1 -n oneDNN-%{version} %build %cmake \ @@ -169,6 +170,7 @@ popd %{_datadir}/benchdnn %files devel +%doc README.md %{_includedir}/mkl-dnn %{_includedir}/mkldnn*.h* %{_includedir}/dnnl*.h* @@ -187,7 +189,6 @@ popd %files -n %{libname} %license LICENSE -%doc README.md %{_libdir}/libdnnl.so.* %{_libdir}/libmkldnn.so.*