OE-Core now has a QA check to see if /var/log is empty. Since
/var/log is usually a symlink to /var/volatile/log, anything
installed here won't actually be available.
Remove the directory.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Currently empty level-zero-dev package is being generated, which
has dependency on level-zero package.
On enabling 'dev-pkgs' in IMAGE_FEATURES, install level-zero-dev package, which throws
dependency conflict error.
Problem: conflicting requests
- nothing provides level-zero = 1.5.4-r0 needed by level-zero-dev-1.5.4-r0.corei7_64
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
The recipe for Intel OneAPI IPP library version 2021.4.0.
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>
Allow users to disable it but enable by default.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Include a fix and two supporting patches from LLVM 11 to fix problems
with double registration while both clang-cpp and llvm lib are linked
(like in case of opencl-clang).
| CommandLine Error: Option 'mc-relax-all' registered more than once!
| LLVM ERROR: inconsistency in registered CommandLine options
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The initial version of the recipe for Intel OneAPI IPP library.
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>
Building with oe-core gatesgarth is no longer supported. Remove from
LAYERSERIES_COMPAT and remove the LLVM 11 patches as well.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use the option to use Khronos translator instead of the
pre-built SPIRVDLL with VC. Also have the native recipe
install a binary needed for the target builds.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Since oe-core commit 8e26252b45b (layer.conf: Extend recipes not to
install without explict dependencies), some dependencies now need to be
explicit.
lms needs pkgconfig-native so add it to DEPENDS.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Since oe-core commit 8e26252b45b (layer.conf: Extend recipes not to
install without explict dependencies), some dependencies now need to be
explicit.
ipmctl needs pkgconfig-native so add it to DEPENDS.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
- Fixed issue in `structuredRegular` and `vdb` interval iterators that could
lead to erroneous initial intervals for certain ray inputs
- Fixed handling of `intervalResolutionHint` interval iterator context
parameter for `amr`, `particle`, and `unstructured` volumes with small
numbers of cells / primitives
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build vc-intrintics as part of this project as igc expects it to. Remove
the LLVM fixes as they are all available upstream now. Also depend on
-native for invoking elf_packager.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Remove patches that are not required now.
IGC_BUILD__USE_KHRONOS_SPIRV_TRANSLATOR has been renamed so it wasn't
taking effect. Remove the option for now.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build opencl-clang with llvm-13 and point to latest from ocl-open-130
branch.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Restructured recipes, having common code in .inc
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Recipe for opencl-clang/13.0.0 is being added to build against
LLVM-13 and higer.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Also add CXXFLAGS=-Wno-error=deprecated-declarations, to turn
some deprecated LLVM API usage from warnings to errors.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
ISPC recommends building LLVM 10 with some additional patches to work
around some bugs in this version. Add those patches to our build as well.
https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
ISPC recommends building LLVM 11 with some additional patches to work
around some bugs in this version. Add those patches to our build as well.
https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
ISPC recommends building LLVM 12 with some additional patches to work
around some bugs in this version. Add those patches to our build as well.
https://github.com/ispc/ispc/tree/v1.16.1/llvm_patches
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
new compute-runtime code base including ADL-P support and
one more ADL-S sku with dev id of 0x4690
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Release notes:
https://github.com/openvkl/openvkl/blob/master/CHANGELOG.md
Highlights:
The version 1.0 release marks long term API stability (until v2.0)
Open VKL can now be built for ARM CPUs that support Neon
Iterator API updates:
Introducing interval and hit iterator contexts, which hold iterator-specific configuration (eliminates value selector objects)
Interval and hit iteration is now supported on any volume attribute
Interval iterators now include a time parameter
Interval iterators now support the intervalResolutionHint parameter, replacing maxIteratorDepth and elementaryCellIteration
Supporting configurable background values; default is now VKL_BACKGROUND_UNDEFINED (NaN) for all volume types
vklGetValueRange() now supports all volume attributes
Added ISPC-side API bindings for vklGetNumAttributes() and vklGetValueRange()
Structured regular volumes:
Added support for tricubic filtering
More accurate gradient computations respecting filter mode
Hit iteration robustness improvements
VDB volumes:
Interval and hit iteration robustness improvements
Corrected interval iterator nominalDeltaT computation for non-normalized ray directions and non-uniform object-space grid spacings
Fixed bug which could cause incorrect value range computations for temporally varying volumes
vklExamples additions demonstrating:
Multi-attribute interval / hit iteration
Configurable background values
Temporally varying volumes
Superbuild updates to latest versions of dependencies
Now requiring minimum versions:
Embree 3.13.1
rkcommon 1.7.0
ISPC 1.16.0
License-Update: Copyright years updated
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Release notes:
https://github.com/oneapi-src/level-zero/releases
Highlights:
- Added support for Level Zero Specification v1.2
- Fixed a bug that resulted in zeInit failing when multiple drivers
are discovered and one of them fails to load.
- Note: API's introduced in v1.2 spec can only be traced with the new
tracing layer implementation. Driver tracing APIs are deprecated.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The tests fail to build with glibc 2.34:
| rkcommon/1.6.1-r0/git/tests/catch.hpp:10811:58: error: call to non-'constexpr' function 'long int sysconf(int)'
| | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| |
| ^~~~~~~~~~~
This has been fixed but is not yet available in a released version:
https://github.com/ospray/rkcommon/issues/5
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Source move up to the latest that contains ADL-P support.
Also, this includes an extra patch to revert following commit
to avoid unit-test failure during compute-runtime build:
ab52c7023 Change builtin kernels compilation process
License-Update: LICENSE file has been removed and replaced by
LICENSE.md. License is still the same.
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Updating IGC to add ADL-P support.
All patches under files folder are rebased as well.
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
When included in a project using find_package, it goes and looks for
headers and cmake module at an incorrect path.
Make sure that we are able to locate the headers and cmake module file.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Intel Open Image Denoise is an open source library of high-performance,
high-quality denoising filters for images rendered with ray tracing.
Intel Open Image Denoise is part of the Intel® oneAPI Rendering Toolkit.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Intel OSPRay is an open source, scalable, and portable ray
tracing engine for high-performance, high-fidelity visualization
on Intel Architecture CPUs.
The purpose of OSPRay is to provide an open, powerful, and easy-to-use
rendering library that allows one to easily build applications that
use ray tracing based rendering for interactive applications
(including both surface- and volume-based visualizations). OSPRay
is completely CPU-based, and runs on anything from laptops, to
workstations, to compute nodes in HPC systems.
https://www.ospray.org/
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Intel(R) Open Volume Kernel Library (Intel(R) Open VKL) is a collection of
high-performance volume computation kernels, developed at Intel. The
target users of Open VKL are graphics application engineers who want to
improve the performance of their volume rendering applications by
leveraging Open VKL’s performance-optimized kernels, which include
volume traversal and sampling functionality for a variety of volumetric
data formats. The kernels are optimized for the latest Intel(R) processors
with support for SSE, AVX, AVX2, and AVX-512 instructions.
Open VKL provides a C API, and also supports applications written with
the Intel(R) Implicit SPMD Program Compiler (Intel(R) ISPC) by also
providing an ISPC interface to the core volume algorithms. This makes it
possible to write a renderer in ISPC that automatically vectorizes and
leverages SSE, AVX, AVX2, and AVX-512 instructions. ISPC also supports
runtime code selection, thus ISPC will select the best code path for
your application.
https://www.openvkl.org/
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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.htmlhttps://github.com/ispc/ispc
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Temporarily disable opencl since intel-graphics-compiler and vc-intrinsics
compile failed since some api of llvm changed.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Intel(R) Embree is a collection of high-performance ray tracing kernels,
developed at Intel. The target users of Intel(R) Embree are graphics
application engineers who want to improve the performance of their
photo-realistic rendering application by leveraging Embree's
performance-optimized ray tracing kernels.
The kernels are optimized for the latest Intel(R) processors with
support for SSE, AVX, AVX2, and AVX-512 instructions.
https://github.com/embree/embree
Added syrah license file
https://github.com/boulos/syrah/blob/master/LICENSE
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
rkcommon represents a common set of C++ infrastructure and
CMake utilities used by various components of
Intel® oneAPI Rendering Toolkit.
https://github.com/ospray/rkcommon
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Drop patch which is not required anymore.
Allow to build with llvm-12 and higher versions.
Ref: 447798893e
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Update openvino to the latest one c5f7ad383e65 ("Fix
license header in Movidius sources") since it is include
a important license change from Intel private License to
Apache2.0 which is allowed external user to disclose it
without limit.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Include the header explicitly to avoid failures:
| inference-engine/src/plugin_api/ie_system_conf.h:21:31: error: 'exception_ptr' in namespace 'std' does not name a type; did you mean 'exception'?
| 21 | INFERENCE_ENGINE_API_CPP(std::exception_ptr&) CurrentException();
| | ^~~~~~~~~~~~~
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2021.3
Remove a patch that isn't needed anymore and refresh the rest. Remove
dependency on onednn as it's using a forked version.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The EDK2 sources are DOS-style on server (contains CRLF) and this may
cause interop issues on Linux machines (patches do not apply clean) The
standard solution is to use the "dos2unix" bbclass, but that can modify
only files under the ${S} folder - meaning we have to move the edk2
checkout folder from ${S}/../edk2 to ${S}/edk2. Also, the LICENSE file
checksum is going to be impacted by the dos2unix conversion.
Signed-off-by: Robi Buranyi <rburanyi@google.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Need to move up to newer commit for opencl-clang that matches
to the current igc (1.0.6466).
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Patches applied from Open PR#171, in order to build with llvm-12.
https://github.com/intel/intel-graphics-compiler/pull/171
Error logs:
(1)
|
/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.6410-r0/git/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp:83:56:
error: 'unsigned int llvm::VectorType::getNumElements() const' is
deprecated: Calling this function via a base VectorType is deprecated.
Either call getElementCount() and handle the case where Scalable is true
or cast to FixedVectorType. [-Werror=deprecated-declarations]
| 83 | NumElts = VTy ? (short)VTy->getNumElements() : 1;
Ref:867de151a5
(2)
|
/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.6410-r0/git/IGC/common/igc_resourceDimTypes.h:69:23:
error: 'const class llvm::Module' has no member named 'getTypeByName'
| 69 | return
module.getTypeByName(ResourceDimensionTypeName[resourceDimTypeId]);
Ref:
fe43168348
Update copyright year in headers in IGC Compiler and some format updates.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Build opencl-clang with llvm-12 and point to latest from ocl-open-120
branch.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta-clang now builds llvm-spiv-translator as an external project for
llvm12 so stop building it.
It still need to be built for llvm-10 and llvm-11 though.
Ref:
aa1ab889bc
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
ipmctl is a utility for configuring and managing Intel® Optane™ Persistent Memory modules (PMem).
It supports functionality to:
* Discover PMems on the platform.
* Provision the platform memory configuration.
* View and update the firmware on PMems.
* Configure data-at-rest security on PMems.
* Track health and performance of PMems.
* Debug and troubleshoot PMems.
* ipmctl refers to the following interface components:
libipmctl: An Application Programming Interface (API) library for managing PMems.
ipmctl: A Command Line Interface (CLI) application for configuring and managing PMems from the command line.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Fixed new dependencies failure.
| automake: error: cannot open < gtk-doc.make: No such file or directory
| autoreconf: error: automake failed with exit status: 1
| checking for upower-glib... no
| configure: error: Package requirements (upower-glib) were not met:
|
| No package 'upower-glib' found
| checking for libevdev... no
| configure: error: Package requirements (libevdev) were not met:
|
| No package 'libevdev' found
upower library recipe comes from meta-openembedded/meta-oe layer, so
moved recipe to dyanmic-layer.
Dropped patch, which is not requried anymore.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Drop a patch that has been merged and include another that was
accidently left off during the last upgrade.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Make sure that ClDNN runtime is built by default. This would need clang
layer to be included as well.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Refreshed patch.
Drop VectorCompiler build config, which is not require anymore.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
It includes:
77974f5 Wrap getTypeByName() to build with ToT LLVM
2de2dd4 Mangle intrinsic names
017cfcd Added predication for genx_masked_gather.
5032643 Add gather4_masked_scaled2 and gather_masked_scaled2 intrinsics
a08fe5b Add internal llvm.genx.gaddr intrinsic for constant/global table
support
cf29e35 use a more strict version of cast operation in lowerUnmaskOps
d2a2184 Use standard installation directory variables
7cbfe2e Allow OCL types without address convert in reader
410f50d Fix twice application of writer adaptor
e42097e Add GENX_REWRITE_SEV environment variable for debug
ca68b87 Rewrite single element vectors before spirv
008db27 Removing some whitespaces
3b2b67f Correct docs on gather/scatter scaled instructions
9bba8b5 Delete legacy intrinsics
d684443 Add Instructions.h to llvmVCWrapper Add getNumElements func to
llvmVCWrapper
4d724e3 CMCallable attribute conversion in AdaptorCM
73b335b Add Alignment.h to llvmVCWrapper
04d4900 Ignore non-vc kernels in reader type translation
b3f075d Remove SPIRVMemoryModel setting in GenXSPIRVWriterAdaptor
eabcd20 Add jump_table intrinsic
82711ce Fix to make lit tests pass for llvm7: forward isVolatile arg
explicitly when creating load/store
6506440 add missing default initializer to CMSimdCFLower member
9a03e3e Fix for problem with incorrect MD in LLVM IR
4515d60 avoid returning potentially-unitialized value
414153d Fix for wrr predication if new value is a result of a bitcast
77974f5 (HEAD -> master, origin/master, origin/HEAD) Wrap
getTypeByName() to build with ToT LLVM
2de2dd4 Mangle intrinsic names
017cfcd Added predication for genx_masked_gather.
5032643 Add gather4_masked_scaled2 and gather_masked_scaled2 intrinsics
a08fe5b Add internal llvm.genx.gaddr intrinsic for constant/global table
support
cf29e35 use a more strict version of cast operation in lowerUnmaskOps
d2a2184 Use standard installation directory variables
7cbfe2e Allow OCL types without address convert in reader
410f50d Fix twice application of writer adaptor
e42097e Add GENX_REWRITE_SEV environment variable for debug
ca68b87 Rewrite single element vectors before spirv
008db27 Removing some whitespaces
3b2b67f Correct docs on gather/scatter scaled instructions
9bba8b5 Delete legacy intrinsics
d684443 Add Instructions.h to llvmVCWrapper Add getNumElements func to
llvmVCWrapper
4d724e3 CMCallable attribute conversion in AdaptorCM
73b335b Add Alignment.h to llvmVCWrapper
04d4900 Ignore non-vc kernels in reader type translation
b3f075d Remove SPIRVMemoryModel setting in GenXSPIRVWriterAdaptor
eabcd20 Add jump_table intrinsic
82711ce Fix to make lit tests pass for llvm7: forward isVolatile arg
explicitly when creating load/store
6506440 add missing default initializer to CMSimdCFLower member
9a03e3e Fix for problem with incorrect MD in LLVM IR
4515d60 avoid returning potentially-unitialized value
414153d Fix for wrr predication if new value is a result of a bitcast
23d4b41 Add SPIRV writer adaptor types translation
9eda835 Deduced number of channels under SIMD CFG for functions which
use genx_replicate_mask attribute
3b3f9d9 Add llvm version to test features
e13f274 Fix wrong address space for sampler type in reader
5829ad6 Fix missing compatibility with old translator in
GenXSPIRVReaderAdaptor.cpp
3a287f5 Add GetOldStyleKernelMD function to GenXMetadata.h
60dec9a Uniform GenXMetadata.h with AdaptorsCommon.h
ec7de0b Move SPIRV-specific parameters to AdaptorsCommon.h
b869876 Use consume_front in SPIRV reader adaptor
2bb7a70 Fix SPIRV reader adaptor mistranslation of non-global pointers
40db2bb Add SPIRV reader adaptor types translation
65b7d2b Add more correct wrapper for global value address space
2e496ce Synchronize repository
Drop patch, which is already merged and avaialble.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This reverts commit 3cf8482e43.
The issues have since been fixed upstream and the tree has been
restored.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
IGC has a copy of legacy spirv translator and additional
patcheset to produce spirv shared object (libSPIRVDLL.so) to
support Vector compiler.
But we build spirv externally and link, which does not provide spirv
shared object (libSPIRVDLL.so).
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
python2 is EOL, so switch shebang to python3
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Allow users to select either ConnMan or Network Manager. Also fixes an
issue introduced because of a recent change in 2022.0.0.0 that removed
the build time check in favor of explicit options to select the right
network manager [1].
[1] 1b8fa45264
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Fixes errors seen when multilib is turned on
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Include compatibility for both LLVM 10 and LLVM 11. Vector Compiler
fails to compile for LLVM 11 so disable the build for now.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Point to latest for llvm 11 branch as there's no official release yet.
And, pick the version of opencl-clang based on LLVMVERSION.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ensure that we can build with both dunfell (LLVM10) and current master
(LLVM11) of meta-clang. Look for LLVMVERSION set by meta-clang and
include relevant patches based on the version.
There's no official release for SPIRV-LLVM-Translator yet for LLVM11 so
pick the latest.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Improve the reproducibility of intel-graphics-compiler-src by replacing
the absolute build path with relative one in bison compiled files.
The --file-prefix-map could only work on bison 3.7 onward so add it only
when bison is newer than 3.7.
│ │ │ -#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ -# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +#ifndef
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
│ │ │ +# define
YY_CISA_YOCTO_POKY_MASTER_BUILD_2_TMP_WORK_SKYLAKE_64_POKY_LINUX_INTEL_GRAPHICS_COMPILER_1_0_4241_R0_BUILD_IGC_VISA_CISA_TAB_HPP_INCLUDED
Also suppress #line directives in scanner that have the build path:
│ │ │ -#line 2593
"/yocto/poky-master/build/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"
│ │ │ +#line 2593
"/yocto/poky-master/build-2/tmp/work/skylake-64-poky-linux/intel-graphics-compiler/1.0.4241-r0/build/IGC/visa/lex.CISA.cpp"
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This reverts commit c6ca760d24.
This breaks builds using meta-intel master with oe-core dunfell because
the bison option isn't available on older versions.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Disable the compilation of cim plugin of openwsman explicitly to avoid
looking for library that is needed for code we don't want to build.
Fixes:
| CMake Error at CMakeLists.txt:329 (FIND_LIBRARY):
| Could not find SFCC_LIBRARIES using the following names: cmpisfcc
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
VC Intrinsics project contains a set of new intrinsics on top of core
LLVM IR instructions that represent SIMD semantics of a program
targeting GPU.
Ref:
https://github.com/intel/vc-intrinsics
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
For release notes, see:
https://software.intel.com/content/www/us/en/develop/articles/openvino-relnotes.html
The recipe has been changed to:
- disable unit tests as they rely on an older version of googletest.
- remove a patch as it was merged upstream.
- backport a patch instead of using a local version.
- refresh other patches.
- download mkl-dnn separately instead of using the submodule. The
project downloads a lot of other modules as well and we don't
want/use those.
- not download lfs documentation content.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
NOTICES.txt is updated and refactored. Added below:
Khronos Group - SPIRV-LLVM License
Khronos Group OpenCL Registry License
Dropped patch, which is not required anymore.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
We're checking for REQUIRED_DISTRO_FEATURES so make sure that it
actually is used and inherit features_check. Fixes:
| lms-2022.0.0.0-r0 do_package_qa: QA Issue: lms: recipe doesn't inherit features_check [unhandled-features-check]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Make sure that cmake files are installed at correct location so they
could be located using find_package.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Point to the renamed repository and change the project name to
openvino-inference-engine.
* Include ngraph as a submodule instead of using it as a separate
project.
* Use the new unit tests, the old ones have been deprecated.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The oneAPI Level-Zero Application Programming Interface (API) is to
provide direct-to-metal interfaces to offload accelerator devices.
Its programming interface can be tailored to any device needs and
can be adapted to support broader set of languages features such as
function pointers, virtual functions, unified memory, and I/O capabilities.
It contains following components of oneAPI:
-> Copies of the Level Zero Specification API C/C++ header files
-> Level Zero Loader
-> Level Zero Validation Layer
It should be installed using:
IMAGE_INSTALL_append = " level-zero-headers level-zero-loader"
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
fix compile error:
inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp:60:9: error: 'int64_t' does not name a type
| 60 | int64_t size;
| | ^~~~~~~
include stdint.h to fix it.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
as meta-intel drop support for 4.19 kernel, this bbappend are no longer
required.
reverts commit 108c6938a9.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
In order to use this recipe with zeus, link to llvm
based on LLVMVERSION.
In zeus release, LLVMVERSION points to 9.x.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
opencl-clang project release branches links to
different LLVM versions. So, in order to use latest igc version
with both clang 10.x and 9.x, added seprated recipes.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
In order to use latest opencl versions with zeus, carrying llvm9 specific
patches, and conditinally applying based on LLVMVERSION.
In zeus release, LLVMVERSION points to 9.x.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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>
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>
Error log:
clang (LLVM option parsing): Unknown command line argument '-pgo-warn-misexpect'.
Try: 'clang (LLVM option parsing) --help'
Force opencl-clang to link with shared clang-cpp for target builds and
explicitly link with spirv library because of a change in behaviour in llvm 10.
Use the patch to link with all static libs only for native cases where meta-clang
default to building static libs only by default.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
We don't want to install sample sources. So delete them and install the
binaries instead. Also make sure that we're installing the python
samples and modules at correct location. Remove the tweaks from local
patch and copy in the recipe itself.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use a submitted patch instead to point to correct llvm-tblgen and include
a fix to really link with all libs when LLVM libs are built statically.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Remove patches that are present in this version of llvm and backport a
fix to prevent linking errors.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
In order to include visa/ headers from igc, set
IGC_DIR path
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Dropped the patch which is already upstream.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Fix the dependency to be added when ptests are not enabled. Fixes:
| ERROR: Nothing PROVIDES '0' (but /meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb DEPENDS on or otherwise requires it)
| ERROR: Required build target 'dldt-inference-engine' has no buildable providers.
| Missing or unbuildable dependency chain was: ['dldt-inference-engine', '0']
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
LIBCPLUSPLUS is now set to use GNU libstdc++ by default. A new variable
RUNTIME can be used to change this behaviour.
6895c79e05
Remove this bbappend as it is not required any more.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Install the OpenCL kernels and cldnn_global_custom_kernels.xml to allow
specification of OpenCL kernels for custom layers.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Make sure that USB udev rules for Intel(R) Movidius(TM) Neural Compute
Stick and Intel(R) Neural Compute Stick 2 are packaged.
* Package vpu firmware only when it is enabled.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* There is interesting issue in do_patch, I was debugging strange
behavior with .bbappend where I've added another small patch.
And it started failing to configure completely.
bitbake -e shows that all .patch files are in SRC_URI and
log.do_patch shows that all were applied, but git diff (as well as
patches/series) shows only the last one added from the bbappend
to be applied.
This was caused by 8 existing patches in .bb file using ;patchdir=../
and my patch in .bbappend using ;patchdir=.. without slash at the end,
it should be fixed in quilt (or how do_patch is using it), but for
now just drop the trailing slash, because 99.9% recipes use ;patchdir=..
without the slash.
It's easily reproducible by removing the slash from the last patch
(without any bbappend).
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* add PACKAGECONFIG for vpu
* add extra package for firmware files
* tested on rpi4 with NCS2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* otherwise components depending on them won't be able to find them
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This shouldn't be forced upon users including the layer without using the
machine value from meta-intel.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Instead of letting clDNN build against intel_ocl_icd prebuilt binaries
under clDNN/common/intel_ocl_icd, configure cmake build to pick up
opencl-icd-loader headers and libraries from staging directory.
Do not set CMAKE_INSTALL_LOCAL_ONLY as it is unused.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Refresh patches so that they apply cleanly on 2019r3.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Inference engine is still downloading and building it's own copy of
mkl-dnn, so remove it from DEPENDS.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
It depends on ace which is marked as incompatible for musl as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Add PACKAGECONFIG[python3] for building dldt-inference-engine-python3
package which contains the inference engine python API.
Also tweak recipe to inherit python3native instead of relying on host
python as building the python API requires python3-cython which might
not be available on the host.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
No need to set LLVM_TARGETS_TO_BUILD here as it
is set by meta-clang layer.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Install clDNN to /usr/lib to resolve the following inference engine
error when running with GPU plugin:
[ ERROR ] Failed to create plugin libclDNNPlugin.so for device GPU
Please, check your environment
Cannot load library 'libclDNNPlugin.so': libclDNNPlugin.so: cannot open
shared object file: No such file or directory
/usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/include/details/os/lin_shared_object_loader.h:36
/usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/src/inference_engine/ie_core.cpp:277
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Release notes:
https://software.intel.com/en-us/articles/OpenVINO-RelNotes
* Enable unit tests to be built and tested using ptest mechanism.
* Include patches from Clear Linux for build fixes.
* Switch to using python3 and threading to using TBB. Switch ENABLE_OPENCV
to off so opencv from system is used.
* Remove do_install and patch Makefiles instead to install libraries correctly.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This recipe builds the inference engine from opencv/dldt 2019 R1.1
release.
OpenVINO™ toolkit, short for Open Visual Inference and Neural network
Optimization toolkit, provides developers with improved neural network
performance on a variety of Intel® processors and helps further unlock
cost-effective, real-time vision applications.
The toolkit enables deep learning inference and easy heterogeneous
execution across multiple Intel® platforms (CPU, Intel® Processor Graphics)—providing
implementations across cloud architectures to edge device.
For more details, see:
https://01.org/openvinotoolkit
The recipe needs components from meta-oe so move it to
dynamic-layers/openembedded-layer. GPU plugin support needs intel-compute-runtime
which can be built by including clang layer in the mix as well.
CPU and GPU plugins have been sanity tested to work using
classification_sample. Further fine-tuning is still needed to improve
the performance.
Original patch by Anuj Mittal.
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Model Optimizer is a cross-platform command-line tool that facilitates
the transition between the training and deployment environment,
performs static model analysis, and adjusts deep learning models for
optimal execution on end-point target devices.
For more details, see:
https://software.intel.com/en-us/openvino-toolkit/deep-learning-cv
Since the recipe requires bits from meta-python, move this to the
dynamic layers section and add meta-python to BBFILES_DYNAMIC.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
We'd like to ignore the older tags using year and work week strings like
2018ww19-010806 and use only the ones that have numbers and are in
x.y.z format.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
There is no need to invoke the cmake target explicitly now to have cmake
files installed. Remove the append to do_install doing that.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Removed patches which are not required anymore.
Updated python version to 3.
In this release, fixed issue/improvements can be
found here:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.11
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
With this upgrade, by default -DPREFERRED_LLVM_VERSION="9.0.0" is set.
Changes can be check here:
https://github.com/intel/opencl-clang
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The library isn't explicitly linking against these libs and loads them
at runtime. Add these to RDEPENDS to make sure these are present.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source
project to converge Intel's development efforts on OpenCL(TM) compute
stacks supporting the GEN graphics hardware architecture.
For more details, see:
https://01.org/compute-runtime
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Use clang and lld for native builds to remain in sync with clang layer.
* fix the license field to point to correct block of license in source
file.
* Include patches to ignore warnings being marked as errors when building
with clang and to fix an issue with inclusion of debug functions when
NDEBUG is defined.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Also include a patch to not build tests to prevent passing the build
flag to every component that is built out of tree.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Switch to using latest on ocl-release-80 branch and to using
using lld for native builds to remain in sync with clang layer.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Since this is managed as a separate repository, build it as a separate
component instead of bundling with LLVM/clang.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Use a custom regex to make sure we exclude tags starting with something
other than igc and those that include versions starting with 19.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Drop library packaging workarounds - not needed with a new sources.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
igc needs components from LLVM and clang to be built. Move it to
dynamic-layers/clang-layer so world builds don't fail when clang layer
is not available.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This is a new release of Local Manageability Service.
This open-source release deprecates unsupported lms7 and lms8.
This recipe depends on ACE and MeTee library recipes.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Common clang is a thin wrapper library around clang. Common clang has
OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V
modules.
This adds a bbappend to clang recipe from meta-clang to build the
necessary components and moves it to dynamic layers so it's built only
when clang-layer is included.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>