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.19.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld:
ispc/1.19.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>
Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v3.1
Disable Graph API with ONEDNN_BUILD_GRAPH=OFF because that is not supported with DNNL_GPU_RUNTIME=OCL.
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
It enables them by default instead of checking based on what is supported.
openvklTest throws following error:
SIGILL - Illegal instruction signal
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Required when building applications with ipp.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Add an option to turn OFF compilation of samples and tools. Move the
OpenCV dependency to this PACKAGECONFIG.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Added entry for Intel(R) Implicit SPMD Program Compiler (ISPC) in
third-party-programs.txt.
Target ospray_module_cpu library build need libispcrt from ispc, so added
ispc also to DEPENDS.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use virtual/opencl-icd instead of ocl-icd explicitly.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use virtual/opencl-icd instead of ocl-icd explicitly.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use virtual/opencl-icd instead of ocl-icd explicitly.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use virtual/opencl-icd instead of ocl-icd explicitly.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use virtual/opencl-icd instead of ocl-icd explicitly.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Release 2.5.2
- Support Alder Lake N
- Support ITMT version 2, which is used in some Raptor Lake systems
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Brings in support for NumPy 1.24 and support for system installed
OpenCL. Includes a newer version of myriad firmware as well.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Download dev-utilities package to have common headers available too.
fatal error: 'dpc_common.hpp' file not found
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Download the -devel package to have MKL headers available too. Static
libraries take too much space (>5GB) so package them separately.
Make sure that the directories in /opt are not symlinked to avoid errors
for packages (like tbb) that also install directories with same name in
$includedir.
Fixes:
| fatal error: 'oneapi/mkl.hpp' file not found
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Switch to using variables defined for RPM generation as it more closely
aligns with how we install libraries and remove the tweak done for
debian variables.
Also fixes packaging issues when BASELIB is set to lib64:
| 20:18:42 ERROR: openvino-inference-engine-2022.3.0-r0 do_package: QA Issue: openvino-inference-engine: Files/directories were installed but not shipped in any package:
| 20:18:42 /usr/lib/python3.10/site-packages/_pyngraph.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/requirements.txt
...
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/ie_api.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/constants.cpython-310-x86_64-linux-gnu.so
| 20:18:42 /usr/lib/python3.10/site-packages/openvino/inference_engine/__init__.py
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ignore the buildpath being embedded in bitcode by clang until we've
found a way to fix.
| QA Issue: File /usr/lib/libigc.so.1.0.1 in package intel-graphics-compiler contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* OpenVINO now installs libraries and headers correctly so we don't need
the local patches anymore.
* Switch to using pybind11 from system. json-schema-validator is no
longer used and open model zoo submodule is only used when building a
specific tool so these submodules have been removed.
* Tweak build scripts to include Yocto specific changes.
License-Update: xbyak deleted the Japaneses translation from COPYRIGHT
and nlohmann_json updated copyright years.
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Clone SPIRV-Tools and Headers in S instead of WORKDIR so they don't
escape file-prefix-map substitutions.
Fixes buildpaths warnings:
| WARNING: intel-graphics-compiler-1.0.12812.9-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libigc.so.1.0.1 in package intel-graphics-compiler-dbg contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Fixes:
/git/IGC/VectorCompiler/lib/GenXCodeGen/GenXSimdCFRegion.cpp:412:31: error: ‘experimental_vector_reduce_or’ is not a member of ‘llvm::Intrinsic’; did you mean ‘experimental_vector_insert’?
[2022-12-06T21:01:52.813Z] | 412 | Intrinsic::experimental_vector_reduce_or;
[2022-12-06T21:01:52.813Z] | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2022-12-06T21:01:52.813Z] | | experimental_vector_insert
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Upgrade to the latest tag and backport 3 patches to fix build issues
with LLVM 15 [1].
Remove IGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_VC option as it has
been removed upstream [2].
And, make sure CLANG_EXE points to clang in native sysroot.
[1] https://github.com/intel/intel-graphics-compiler/issues/263
[2] 3fde0acae8
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Support for Intel(R) oneAPI DPC++/C++ (icx) compiler is being added. So
remove the support for the classic compiler.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The Intel® oneAPI DPC++/C++ Compiler provides optimizations
that help your applications run faster on Intel® 64 architectures with support
for the latest C, C++, and SYCL language standards. This compiler produces
optimized code that can run significantly faster by taking advantage of the
ever-increasing core count and vector register width in Intel® Xeon® processors
and compatible processors.
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html
The compiler binaries are installed in /opt and can be invoked to compile
on target or using the SDK.
Currently dpcpp icx identify only x86_64-oe-linux triple, so it should be tested
with 'nodistro' DISTRO.
DISTRO ?= "nodistro"
To run SYCL program, it has dependencies on OpenCL components.
IMAGE_INSTALL:append = " intel-compute-runtime intel-graphics-compiler clang"
To install icx toolchain and runtime libraries
IMAGE_INSTALL:append = " intel-oneapi-dpcpp-cpp-runtime intel-oneapi-dpcpp-cpp-runtime-dev "
IMAGE_INSTALL:append = " intel-oneapi-dpcpp-cpp intel-oneapi-dpcpp-cpp-dev "
Once image is built and boots, an env script needs to be run to setup compiler environment and
also required to create dynamic linker symlink at /lib64
$ source /opt/intel/oneapi/compiler/2022.1.0/env/vars.sh
$ mkdir -p /lib64
$ ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
To build an SYCL sample application, following command should be used
$ icpx --target=x86_64-oe-linux -fsycl simple-sycl-app.c -o simple-sycl-app
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build opencl-clang with llvm-15 and point to latest from ocl-open-150
branch.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
- Change gflag to shared as we are not building with static library.
- We are using zlib from yocto recipe, so don't add zlib as third party package
- Third party package mkl-dnn name changed to onednn upstream in openvino repo so changed
the name accordingly in openvino-inference-engine recipe
- Refresh patches
Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.2.0
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Using the Intel® C++ Compiler Classic, you can compile and generate
applications that can run on Intel® 64 architecture.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This is due to recent packaging chagnes in meta-clang
3d56a85afe
Error log:
do_package_qa: QA Issue: /usr/bin/ispc contained in package ispc
requires libclang-cpp.so.15()(64bit), but no providers found
in RDEPENDS:ispc? [file-rdeps]
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Upstream has force pushed master and the commit we were fetching is
no longer present on that branch. Remove the branch parameter and switch
to using nobranch to continue using that commit.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Enable an option that's is available now to use TBB from system and
refresh patches accordingly. This version also switches to using system
installed OpenCV and Intel version is not included.
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.1.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
OE-core has updated kernel headers to 5.19 and that is resulting in
failures:
| /build/cje/workspace/poky/build/tmp/work/corei7-64-poky-linux/ipmctl/03.00.00.0439-r0/git/src/os/linux/lnx_system.c:336:52: error: 'ND_DEVICE_NAMESPACE_BLK' undeclared (first use in this function); did you mean 'ND_DEVICE_NAMESPACE_IO'?
| 336 | (nstype == ND_DEVICE_NAMESPACE_BLK))
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | ND_DEVICE_NAMESPACE_IO
| compilation terminated due to -Wfatal-errors.
For more details:
https://github.com/intel/ipmctl/pull/194/
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Prevent host paths from getting into target packages. Also prevents
buildpaths warnings for files:
| File /usr/lib/libopenvino.so in package openvino-inference-engine contains reference to TMPDIR [buildpaths]
| File /usr/lib/python3.10/site-packages/openvino/inference_engine/ie_api.so in package openvino-inference-engine-python3 contains reference to TMPDIR [buildpaths]
| File /usr/src/debug/openvino-inference-engine/2022.1-r0/build/src/plugins/intel_cpu/cross-compiled/proposal_imp_disp.cpp in package openvino-inference-engine-src contains reference to TMPDIR
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Don't build with clang specifically and let user decide.
* Drop already merged patch: 0001-Enable-LLVM-15.0-support.patch
* ispc generated headers include a comment will full path to the header. Patch the code to drop this comment.
* Tweak bison and flex invocation to make sure they don't include #line directives.
* Add flex-native to DEPENDS.
* Release notes:
https://github.com/ispc/ispc/releases/tag/v1.18.0
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove upstreamed patches and refresh others.
* Include the LICENSE.md file and remove the cpp file which just points to
MIT license.
* Update the license to MIT and Apache-2.0
* Install vcb tool from -native recipe.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ignore warnings generated with gcc12 for now.
| /ipmctl/03.00.00.0438-r0/git/DcpmPkg/cli/NvmDimmCli.c: In function 'showHelp':
| /ipmctl/03.00.00.0438-r0/git/DcpmPkg/cli/NvmDimmCli.c:1031:24: error: the comparison will always evaluate as 'true' for the address of 'options' will never be NULL [-Werror=address]
| 1031 | (pCmd->options != NULL)) {
| | ^~
| compilation terminated due to -Wfatal-errors.
| cc1: all warnings being treated as errors
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Both ocl-icd and opencl-icd-loader provides OpenCL library. Currently
openvino uses ocl-icd, which causes conflict with opencl-icd-loader
while packaging. So using ocl-icd instead.
Error:
file /usr/lib/libOpenCL.so.1 conflicts between attempted installs of
opencl-icd-loader-v2022.01.04+git0+169f05d026-r0.skylake_64 and libopencl1-2.3.1-r0.skylake_64
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The project now is able to locate the required package and libraries
correctly so no need to pass flags to cmake.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
We no longer support building with older branches of OE-Core/meta-clang
so remove LLVM 10 specific configurations and patches.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Add COMPTIBLE_HOST to fix a build error when using musl,
due to openvino-inference-engine dependency
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Backport patches to fix compile problems like:
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1459:49: error: expected primary-expression before 'int'
| 1459 | int maxTokenDelay = std::numeric_limits<int>::min(); //The delay may cause if reuse
| | ^~~
| /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1460:37: error: 'numeric_limits' is not a member of 'std'
| 1460 | int minTokenDistance = std::numeric_limits<int>::max(); //The distance from the reused node
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
It's used only for unit tests that we don't package or execute and has
been removed from requirements.txt as well upstream.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Switch to using SPDX preferred identifiers. All changes done using v0.1
of the script convert-spdx-licenses.py.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
*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>
The recipe for Intel OneAPI IPP library version 2021.5.1.
IPP is an extensive library of ready-to-use, domain-specific functions
that are highly optimized for diverse Intel architectures.
Signed-off-by: Mariia Vtiurina <mariia.vtiurina@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Release notes:
Lights can be now part of OSPGroup and thus instanced like
geometries and volumes and thus lights also support motion blur
(with the path tracer)
Add cylinder light (with solid area sampling)
Add support for rolling shutter of cameras
Add support for quaternion motion blur for instance and camera to
allow for smoothly interpolated rotations
Fix illumination from emissive quad meshes
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Release notes:
vklExamples improvements: asynchronous rendering, multiple viewports, docking, and more
Fixed bug in openvkl_utility_vdb which could lead to crashes when creating VDB volumes with temporally constant tiles
Superbuild updates to latest versions of dependencies
Minimum rkcommon version is now 1.8.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>