Commit Graph

29 Commits

Author SHA1 Message Date
Anuj Mittal
1342bcdc5b onednn: upgrade 2.6.1 -> 2.6.3
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-08-29 09:37:00 +08:00
Naveen Saini
9f1dfc1139 ispc: fix run_tests.py test script
Some testcases are currently failing with following error:
/usr/bin/x86_64-poky-linux-ld: ./tests/static-array-init-1.ispc.o:
relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/x86_64-poky-linux-ld: failed to set dynamic section sizes: bad value

Backport patch.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-19 17:39:59 +08:00
Naveen Saini
a19fda659a ispc: fix recipe
There are few problems in current recipe:

(1)
ispc needs to invoke native llvm-config from target sysroot to list LLVM
lib libraries. clang already provides crossscripts/llvm-config, which does
the job.

However, using LLVM_TOOLS_BINARY_DIR leads to wrong llvm-config being
used. So remove it from search path for llvm-config.

(2)
Error:
ispc/1.17.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld:
ispc/1.17.0-r0/recipe-sysroot-native/usr/lib/libclang-cpp.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
error: linker command failed with exit code 1 (use -v to see invocation)

Native libraries were being linked to target libraries leading to this
failure. Fix and cleanup DEPENDS/RDEPENDS.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-17 09:45:24 +08:00
Anuj Mittal
032466fb6e onednn: turn on PACKAGECONFIG for GPU engine
Build OCL GPU engine by default now that compute runtime works with
latest LLVM.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-12 17:00:15 +08:00
Yogesh Tyagi
43224e937a onednn : Upgrade 2.6 -> 2.6.1
Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.6.1

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit 97ac7b761e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-08-12 17:00:05 +08:00
Naveen Saini
fb23bc3e66 onednn: upgrade 2.5.3 -> 2.6
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-06 22:39:33 +08:00
Naveen Saini
4d19fc59bb ispc: disable build for Windows, android and other targets
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-22 22:34:38 +08:00
Naveen Saini
cd94a7af54 onednn: upgrade 2.5.2 -> 2.5.3
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-07 16:14:46 +08:00
Ezhilarasan
f25cc6b707 ipsc: upgrade 1.16.1 -> 1.17.0
Release notes:
https://github.com/ispc/ispc/releases/tag/v1.17.0

Signed-off-by: Ezhilarasan <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-02 17:39:01 +08:00
ezhilarasan s
2c6d52453c onednn: upgrade 2.4.4 -> 2.5.2
*Fixed performance regression in binary primitive with broadcast (b972174, ff75122).
 *Fixed issue with SYCL device properties initialization (cabc5ca, 095f13e).
 *Fixed issue in matmul primitive with zero points (3157354).
 *Fixed segmentation fault in depthwise convolution primitive for shapes with huge spatial size for processors with Intel AVX-512 support (6834764, 1d2addc).
 *Fixed issue in forward convolution primitive for processors with Intel AVX2 support (d691137).
 *Fixed performance regression on GPUs with SYCL runtime (d8364e5).

Signed-off-by: ezhilarasan s <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-12 00:37:48 +08:00
Anuj Mittal
5ebbe2ae21 onednn: upgrade 2.4 -> 2.4.4
Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.4.4

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
e4d0c52cba meta: add explicit branch and protocol to SRC_URI
Add branch name explicitly to SRC_URI where it's not defined and switch
to using https protocol for Github projects.

The change was made using convert_srcuri script for OE-Core.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 12:35:28 +08:00
Anuj Mittal
afb4218a3e onednn: upgrade 2.3.2 -> 2.4
Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.4

Remove reference to Mathjax license as it's no longer used.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 00:40:55 +08:00
Anuj Mittal
f4522647f2 onednn: upgrade 2.2.3 -> 2.3.2
Release notes:
https://github.com/oneapi-src/oneDNN/releases

License-Update: Copyright years updated

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-25 01:12:01 +08:00
Anuj Mittal
d716aee65c ispc: upgrade 1.16.0 -> 1.16.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-17 11:14:31 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Naveen Saini
f808528a90 ispc: add recipe
Intel(R) Implicit SPMD Program Compiler (Intel(R) ISPC)

ispc is a compiler for a variant of the C programming language, with
extensions for single program, multiple data programming. Under the SPMD
model, the programmer writes a program that generally appears to be a
regular serial program, though the execution model is actually that a
number of program instances execute in parallel on the hardware.

https://ispc.github.io/downloads.html
https://github.com/ispc/ispc

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-03 22:48:10 +08:00
Naveen Saini
0d0324efd2 onednn: upgrade 2.2.2 -> 2.2.3
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-03 23:59:46 +08:00
Anuj Mittal
b07c91784c onednn: refresh patch
Refresh the gcc11 fix to avoid fuzz warnings.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-11 13:47:01 +08:00
Anuj Mittal
49d97ea0ac onednn: fix failures with gcc 11
Backport a patch to fix:
|  error: no match for 'operator!=' (operand types are 'const std:🧵:id' and 'const std:🧵:id')

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-07 15:57:51 +08:00
Anuj Mittal
922c44cb70 onednn: upgrade 2.2.1 -> 2.2.2
Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.2.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-07 15:47:13 +08:00
Anuj Mittal
b3c29caf92 onednn: upgrade 2.1.1 -> 2.2.1
Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.2.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-16 12:09:20 +08:00
Naveen Saini
f30e749e89 onednn: upgrade 2.0 -> 2.1.1
LICENSE updated. Added 'Copyright 2020 Codeplay Software Limited'
Ref: 5d63af1b4a

LICENSE text removed from src/common/primitive_hashing.hpp.

Release notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.1.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-03-24 14:58:31 +08:00
Anuj Mittal
5e6679fba3 onednn: upgrade 1.6.4 -> 2.0.0
License-Update: change in copyright years and third party programs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-16 11:11:30 +08:00
Anuj Mittal
be37967889 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>
2020-10-02 15:48:54 +08:00
Anuj Mittal
013ef7ebea onednn: upgrade 1.4 -> 1.5
Remove patches that have been merged upstream.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-22 13:59:04 +08:00
Naveen Saini
7006412eb1 onednn: link to recommended opencl headers and loader
ocl-icd provides required libOpenCL.so library.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-11 08:49:10 +08:00
Anuj Mittal
9f65fd57fe onednn: add CMAKE_SKIP_RPATH
dunfell has a change in cmake class that forces cmake to use relative
RPATHs but when this recipe is used with zeus, we'd need to explicitly
make sure that binaries don't have absolute paths.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-24 08:22:20 +08:00
Anuj Mittal
53c87950e8 mkl-dnn: upgrade 1.2.2 -> 1.4
The name of project has changed to oneDNN. Enable GPU engine to be built
by default which would need clang layer to be included.

Also include two minor fixes to install logic that have been submitted
for review upstream.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-21 22:07:00 +08:00