diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-10-02 11:19:48 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-10-02 15:48:54 +0800 |
commit | be379678894ef4e9922a3d40594523c494b127f8 (patch) | |
tree | 6d34edaa812fdabb763922e2c93a5850fdc9091f /dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb | |
parent | bebc269ad7e653140fd652caa125cff41a32a102 (diff) | |
download | meta-intel-be379678894ef4e9922a3d40594523c494b127f8.tar.gz |
onednn: upgrade 1.5 -> 1.6.4
Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v1.6.4
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb new file mode 100644 index 00000000..56b10114 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.6.4.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | HOMEPAGE = "https://www.oneapi.com" | ||
2 | SUMMARY = "Deep Neural Network Library" | ||
3 | DESCRIPTION = "This software is a user mode library that accelerates\ | ||
4 | deep-learning applications and frameworks on Intel architecture." | ||
5 | LICENSE = "Apache-2.0 & BSD-3-Clause & BSL-1.0" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3c6ff4426dbd618bcfd552ac4a7c1c56 \ | ||
7 | file://tests/gtests/gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ | ||
8 | file://src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ | ||
9 | file://src/cpu/x64/jit_utils/jitprofiling/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ | ||
10 | file://doc/assets/mathjax/MathJax.js;endline=17;md5=25a014ad78c3d72a0e15d15f1d007c20 \ | ||
11 | file://src/common/primitive_hashing.hpp;beginline=243;endline=246;md5=f56de33cb6ec02de60006b10e027b300 \ | ||
12 | " | ||
13 | SECTION = "lib" | ||
14 | |||
15 | inherit pkgconfig cmake ptest | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | SRCREV = "570ab9c2ea0915b048279438aebb063b8769149c" | ||
19 | SRC_URI = "git://github.com/oneapi-src/oneDNN.git;branch=rls-v1.6 \ | ||
20 | file://run-ptest \ | ||
21 | " | ||
22 | |||
23 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
24 | |||
25 | CVE_PRODUCT = "intel:math_kernel_library" | ||
26 | |||
27 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
28 | COMPATIBLE_HOST_libc-musl = 'null' | ||
29 | |||
30 | EXTRA_OECMAKE += " \ | ||
31 | -DDNNL_LIBRARY_TYPE=SHARED \ | ||
32 | -DDNNL_BUILD_EXAMPLES=ON \ | ||
33 | -DDNNL_BUILD_TESTS=ON \ | ||
34 | -DDNNL_CPU_RUNTIME=OMP \ | ||
35 | -DDNNL_ARCH_OPT_FLAGS="" \ | ||
36 | -DCMAKE_SKIP_RPATH=ON \ | ||
37 | " | ||
38 | |||
39 | PACKAGECONFIG ??= "" | ||
40 | PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers ocl-icd, intel-compute-runtime" | ||
41 | |||
42 | do_install_append () { | ||
43 | install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
44 | install -m 0755 ${B}/tests/benchdnn/benchdnn ${D}${bindir}/mkl-dnn/tests/benchdnn | ||
45 | cp -r ${B}/tests/benchdnn/inputs/* ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
46 | } | ||
47 | |||
48 | do_install_ptest () { | ||
49 | install -d ${D}${PTEST_PATH}/tests | ||
50 | install -m 0755 ${B}/tests/api-c ${D}${PTEST_PATH}/tests | ||
51 | install -m 0755 ${B}/tests/test_c_symbols-c ${D}${PTEST_PATH}/tests | ||
52 | } | ||
53 | |||
54 | PACKAGES =+ "${PN}-test" | ||
55 | |||
56 | FILES_${PN}-test = "${bindir}/mkl-dnn/*" | ||