| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Dongwon Kim <dongwon.kim@intel.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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings:
| Applying patch allow-to-find-cpp-generation-tool.patch
| patching file shared/source/built_ins/kernels/CMakeLists.txt
| Hunk #1 succeeded at 94 with fuzz 2 (offset -6 lines).
| Hunk #2 succeeded at 147 with fuzz 2 (offset 3 lines).
|
| The context lines in the patches can be updated with devtool:
|
| devtool modify intel-compute-runtime
| devtool finish --force-patch-refresh intel-compute-runtime <layer_path>
|
| Don't forget to review changes done by devtool!
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
| |
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
| |
Signed-off-by: Dongwon Kim <dongwon.kim@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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
| |
Disable built-ins compilation when building for native.
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>
|
|
|
|
|
|
| |
This reverts commit 8a1fb876b05a6c66e26dd2e42dee6f19bcfbd421.
The upgrade doesn't build properly and needs re-work.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It includes:
a2f2f10 Fix Cmake Error
6221091 Fix llvm verifier assertion
2bbb573 Add missing header
fd9bf4b Wrap AttributeList::hasFnAttr
90113a5 add intrinsic to represent visa madw instr
4e3870d Revert "Introduce new vc intrinsic to access timestamp register"
0bf761e Mark lit tests as XFAIL for llvm 14 (tot)
05d3f3d Add global variables support to GenXSingleElementVector pass
43b1af8 Fix typo in GenXIntrinsics/CMakeLists.txt
185f382 update copyright headers update Python copyright to PEP8 style
63cbfe0 update MIT copyright headers
f45e04c Introduce new vc intrinsic to access timestamp register
d9ffe1f (origin/dpcpp_staging) Add intrinsics for bindless buffers support
6d29de3 update comment format of rst copyright headers
b976b83 introduce bf_cvt intrinsic
Udated LIC_FILES_CHKSUM, due to reformating and restructuing of
copyright notice header.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
License.md file removed and copyright notice is added
to each source file header.
https://github.com/intel/vc-intrinsics/commit/a94249a381a3797f2de087f2b24013778d02c912
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: https://github.com/intel/opencl-clang/commit/447798893e7e381d5321f940d30710f72214c5af
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.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>
|
|
|
|
|
|
| |
This is not a direct dependency and is not required.
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:https://github.com/llvm/llvm-project/commit/867de151a52b6d0750485ac1cf9b3bc012ee51fd
(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:
https://github.com/llvm/llvm-project/commit/fe431683484a3041e024ab2373bb707b1ca8d1cf
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>
|
|
|
|
|
|
|
|
| |
Ref:
https://github.com/intel/compute-runtime/releases/tag/21.04.18912
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It includes:
c67648d Merge pull request #226 from hewj03/ocl-open-110
7ff6cf2 Remove "spirv work-item builtin debug-info patch"
8353f4d Extend llvm_shutdown to fix ManagedStatic memleak
05fd5aa Merge pull request #220 from azabazno/opencl_30_nosvm_2
70f45fb Keep same error for 2.0
1aed7d7 OpenCL C 3.0 patch update: allow nosvm attribute for 3.0
dbddfc2 Merge pull request #214 from lwesiers/ocl-open-110
7fc8e28 Fix typo
0442aee Improved patching mechanism and printing logs
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
| |
Ref:
https://github.com/kraj/meta-clang/commit/67a7cad4bb48ef569b4eeb4b3c923133d2d422a6
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
| |
Ref:https://github.com/kraj/meta-clang/commit/67a7cad4bb48ef569b4eeb4b3c923133d2d422a6
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
| |
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
| |
Release notes:
https://github.com/intel/compute-runtime/releases/tag/20.45.18403
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
| |
Release notes:
https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5435
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 3cf8482e432e5daf0b75394152e2c229b3a08d36.
The issues have since been fixed upstream and the tree has been
restored.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
| |
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
| |
For more info:
https://github.com/intel/opencl-clang/releases/tag/v11.0.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
libva is needed to have cl_intel_va_api_media_sharing [1] extension
enabled.
[1] https://github.com/intel/compute-runtime/blob/master/opencl/doc/cl_intel_va_api_media_sharing.md
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
| |
Release notes:
https://github.com/intel/compute-runtime/releases/tag/20.40.18075
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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 c6ca760d24dc016434e79a6aceeb608fba890a3c.
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>
|