1
0
forked from pool/onednn

Accepting request 897397 from home:susnux:branches:science:machinelearning

Update to version 2.2.3

OBS-URL: https://build.opensuse.org/request/show/897397
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/onednn?expand=0&rev=10
This commit is contained in:
Guillaume GARDET 2021-06-04 11:40:34 +00:00 committed by Git OBS Bridge
parent 861717c4f1
commit 6edef32d95
5 changed files with 69 additions and 10 deletions

View File

@ -0,0 +1,38 @@
From cfbefd8d744d4cdcdf3dd2f18576f487b36911b6 Mon Sep 17 00:00:00 2001
From: Denis Samoilov <denis.samoylov@intel.com>
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 <future>
#include <list>
#include <memory>
+#include <thread>
#include <unordered_map>
#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 <list>
#include <map>
+#include <limits>
namespace ngen {
namespace autoswsb {
--
2.26.2

3
oneDNN-2.2.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07e5cc2a30e7bb5a381eba04f8579f427372132ed3d44363f5fd89850a7b50fd
size 9534138

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01e651eb20ca1943bbdf756804fd02d13e5ff3c84b89e3aa5d40abdeb5bb07ee
size 9533876

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Jun 3 01:38:56 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- 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 <jengelh@inai.de>

View File

@ -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.*