diff options
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch | 38 | ||||
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.3.2.bb (renamed from dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.2.3.bb) | 7 |
2 files changed, 3 insertions, 42 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 deleted file mode 100644 index 758cc45d..00000000 --- a/dynamic-layers/clang-layer/recipes-core/dnn/files/fix-gcc-11-failures.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From f04b34854b42a0f5bd754398fdefd4573bb38b66 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Denis Samoilov <denis.samoylov@intel.com> | ||
| 3 | Date: Fri, 2 Apr 2021 19:46:22 -0700 | ||
| 4 | Subject: [PATCH] common, gpu: include thread and limit headers to fix GCC 11 | ||
| 5 | build issues | ||
| 6 | |||
| 7 | Upstream-Status: Backport [https://github.com/oneapi-src/oneDNN/commit/1fe0f2594a1bfc6386fd8f6537f971d5ae9c1214] | ||
| 8 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | src/common/primitive_cache.hpp | 1 + | ||
| 12 | src/gpu/jit/ngen/ngen_auto_swsb.hpp | 1 + | ||
| 13 | 2 files changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/src/common/primitive_cache.hpp b/src/common/primitive_cache.hpp | ||
| 16 | index 73cb1224f..05a3e53e5 100644 | ||
| 17 | --- a/src/common/primitive_cache.hpp | ||
| 18 | +++ b/src/common/primitive_cache.hpp | ||
| 19 | @@ -20,6 +20,7 @@ | ||
| 20 | #include <future> | ||
| 21 | #include <list> | ||
| 22 | #include <memory> | ||
| 23 | +#include <thread> | ||
| 24 | #include <unordered_map> | ||
| 25 | |||
| 26 | #include "c_types_map.hpp" | ||
| 27 | diff --git a/src/gpu/jit/ngen/ngen_auto_swsb.hpp b/src/gpu/jit/ngen/ngen_auto_swsb.hpp | ||
| 28 | index de3417af3..62ef2a571 100644 | ||
| 29 | --- a/src/gpu/jit/ngen/ngen_auto_swsb.hpp | ||
| 30 | +++ b/src/gpu/jit/ngen/ngen_auto_swsb.hpp | ||
| 31 | @@ -33,6 +33,7 @@ | ||
| 32 | |||
| 33 | #include <list> | ||
| 34 | #include <map> | ||
| 35 | +#include <limits> | ||
| 36 | |||
| 37 | namespace ngen { | ||
| 38 | namespace autoswsb { | ||
diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.2.3.bb b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.3.2.bb index c24c6440..40ef6ebf 100644 --- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.2.3.bb +++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.3.2.bb | |||
| @@ -3,7 +3,7 @@ SUMMARY = "Deep Neural Network Library" | |||
| 3 | DESCRIPTION = "This software is a user mode library that accelerates\ | 3 | DESCRIPTION = "This software is a user mode library that accelerates\ |
| 4 | deep-learning applications and frameworks on Intel architecture." | 4 | deep-learning applications and frameworks on Intel architecture." |
| 5 | LICENSE = "Apache-2.0 & BSD-3-Clause & BSL-1.0" | 5 | LICENSE = "Apache-2.0 & BSD-3-Clause & BSL-1.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8e17c0f9656ebaf0c380d9b22707c846 \ | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b48e3de3bfd47c27882a0d85b20823f5 \ |
| 7 | file://tests/gtests/gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ | 7 | file://tests/gtests/gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ |
| 8 | file://src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ | 8 | file://src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ |
| 9 | file://src/common/ittnotify/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ | 9 | file://src/common/ittnotify/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ |
| @@ -14,9 +14,8 @@ SECTION = "lib" | |||
| 14 | inherit pkgconfig cmake ptest | 14 | inherit pkgconfig cmake ptest |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | SRCREV = "7336ca9f055cf1bfa13efb658fe15dc9b41f0740" | 17 | SRCREV = "e2d45252ae9c3e91671339579e3c0f0061f81d49" |
| 18 | SRC_URI = "git://github.com/oneapi-src/oneDNN.git;branch=rls-v2.2 \ | 18 | SRC_URI = "git://github.com/oneapi-src/oneDNN.git;branch=rls-v2.3 \ |
| 19 | file://fix-gcc-11-failures.patch \ | ||
| 20 | file://run-ptest \ | 19 | file://run-ptest \ |
| 21 | " | 20 | " |
| 22 | 21 | ||
