1
0
forked from pool/onednn

Accepting request 900151 from science:machinelearning

OBS-URL: https://build.opensuse.org/request/show/900151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/onednn?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2021-06-15 14:38:16 +00:00 committed by Git OBS Bridge
commit ca8d3286bb
5 changed files with 15 additions and 44 deletions

View File

@ -1,38 +0,0 @@
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

View File

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

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

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 15 08:31:16 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to version 2.2.4:
* Fixed build error with GCC 11 (eda1add)
* Fixed an issue with reorder reporting unimplemented when
quantizing f32 weights to s8 (4f05b76, 5d3d1e1, cc77eef)
* Updated name for GPU gen12 architecture to xe (3d202c2)
- Drop upstream patch:
* 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch
-------------------------------------------------------------------
Thu Jun 3 01:38:56 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -31,7 +31,7 @@
%define libname libdnnl2
Name: onednn
Version: 2.2.3
Version: 2.2.4
Release: 0
Summary: Intel Math Kernel Library for Deep Neural Networks
License: Apache-2.0
@ -39,8 +39,6 @@ URL: https://01.org/onednn
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