summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2021-05-11 13:47:01 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-05-11 13:47:01 +0800
commitb07c91784c630ac8724f86e0c3211b8a2dff9996 (patch)
tree85f79dfde09e55b1f4f1086528724f87d06390fb
parentb96d06bad8b79890b8e0773dfa1e94718a0a4180 (diff)
downloadmeta-intel-b07c91784c630ac8724f86e0c3211b8a2dff9996.tar.gz
onednn: refresh patch
Refresh the gcc11 fix to avoid fuzz warnings. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch b/dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch
index a7f348b3..758cc45d 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch
@@ -1,4 +1,4 @@
1From 1fe0f2594a1bfc6386fd8f6537f971d5ae9c1214 Mon Sep 17 00:00:00 2001 1From f04b34854b42a0f5bd754398fdefd4573bb38b66 Mon Sep 17 00:00:00 2001
2From: Denis Samoilov <denis.samoylov@intel.com> 2From: Denis Samoilov <denis.samoylov@intel.com>
3Date: Fri, 2 Apr 2021 19:46:22 -0700 3Date: Fri, 2 Apr 2021 19:46:22 -0700
4Subject: [PATCH] common, gpu: include thread and limit headers to fix GCC 11 4Subject: [PATCH] common, gpu: include thread and limit headers to fix GCC 11
@@ -6,28 +6,29 @@ Subject: [PATCH] common, gpu: include thread and limit headers to fix GCC 11
6 6
7Upstream-Status: Backport [https://github.com/oneapi-src/oneDNN/commit/1fe0f2594a1bfc6386fd8f6537f971d5ae9c1214] 7Upstream-Status: Backport [https://github.com/oneapi-src/oneDNN/commit/1fe0f2594a1bfc6386fd8f6537f971d5ae9c1214]
8Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 8Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
9
9--- 10---
10 src/common/primitive_cache.hpp | 1 + 11 src/common/primitive_cache.hpp | 1 +
11 src/gpu/jit/ngen/ngen_auto_swsb.hpp | 1 + 12 src/gpu/jit/ngen/ngen_auto_swsb.hpp | 1 +
12 2 files changed, 2 insertions(+) 13 2 files changed, 2 insertions(+)
13 14
14diff --git a/src/common/primitive_cache.hpp b/src/common/primitive_cache.hpp 15diff --git a/src/common/primitive_cache.hpp b/src/common/primitive_cache.hpp
15index d3390c0649..ba186b2e66 100644 16index 73cb1224f..05a3e53e5 100644
16--- a/src/common/primitive_cache.hpp 17--- a/src/common/primitive_cache.hpp
17+++ b/src/common/primitive_cache.hpp 18+++ b/src/common/primitive_cache.hpp
18@@ -19,6 +19,7 @@ 19@@ -20,6 +20,7 @@
19
20 #include <future> 20 #include <future>
21 #include <list>
21 #include <memory> 22 #include <memory>
22+#include <thread> 23+#include <thread>
23 #include <unordered_map> 24 #include <unordered_map>
24 25
25 #include "c_types_map.hpp" 26 #include "c_types_map.hpp"
26diff --git a/src/gpu/jit/ngen/ngen_auto_swsb.hpp b/src/gpu/jit/ngen/ngen_auto_swsb.hpp 27diff --git a/src/gpu/jit/ngen/ngen_auto_swsb.hpp b/src/gpu/jit/ngen/ngen_auto_swsb.hpp
27index deb2275ef0..5236bc0fa0 100644 28index de3417af3..62ef2a571 100644
28--- a/src/gpu/jit/ngen/ngen_auto_swsb.hpp 29--- a/src/gpu/jit/ngen/ngen_auto_swsb.hpp
29+++ b/src/gpu/jit/ngen/ngen_auto_swsb.hpp 30+++ b/src/gpu/jit/ngen/ngen_auto_swsb.hpp
30@@ -28,6 +28,7 @@ 31@@ -33,6 +33,7 @@
31 32
32 #include <list> 33 #include <list>
33 #include <map> 34 #include <map>