summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl
Commit message (Collapse)AuthorAgeFilesLines
* opencl-clang: move common code to incAnuj Mittal2023-08-283-26/+13
| | | | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit 711eee2b8e9a9bed92eaf95398076e35310a5d76) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang/14.0: update to latestAnuj Mittal2023-08-282-36/+2
| | | | | | | | Drop the patch that is not needed anymore. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit efd8310cbed3b4dc8db1b24bee09003186bf66d8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang/15.0: update to latestAnuj Mittal2023-08-285-1/+145
| | | | | | | | | | Include the latest changes from ocl-open-150 branch. Backport fixes from main and include another patch to fix issues with building target binaries. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit d9d4392e6628effd6f8fe064f25f824607648893) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.13230.7 -> 1.0.13463.18Teoh Suh Haw2023-04-281-4/+4
| | | | | | | | | | | Release Notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13463.18 Upgrade SPIRV-Tools to v2023.2 release Upgrade SPIRV-Headers to tag sdk-1.3.243.0 Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 23.05.25593.11 -> 23.09.25812.14Teoh Suh Haw2023-04-282-4/+4
| | | | | | | | | | Release Notes: https://github.com/intel/compute-runtime/releases/tag/23.09.25812.14 Adapt external-ocloc.patch Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 22.49.25018.24 -> 23.05.25593.11Teoh Suh Haw2023-04-132-4/+4
| | | | | | | | | | Release Notes: https://github.com/intel/compute-runtime/releases/tag/23.05.25593.11 Adapt allow-to-find-cpp-generation-tool.patch Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.12812.24 -> 1.0.13230.7Teoh Suh Haw2023-04-139-325/+16
| | | | | | | | | | | | | | | | Release Notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.13230.7 Drop already merged patches: c707d1e2244aec988bdd5d2a7473ef3a32a5bac7.patch d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7.patch e09e752949e7af0231884d1b11ea907e3e8b1611.patch fix-build-with-llvm12.patch Fixes fuzz warnings. Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 22.38.24278 -> 22.49.25018.24Anuj Mittal2023-02-243-17/+19
| | | | | | | | | Release notes: https://github.com/intel/compute-runtime/releases/tag/22.49.25018.24 License-Update: Includes full text of license now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* igc: add patch upstream statusChee Yang Lee2023-02-241-0/+2
| | | | | Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.12812.9 -> 1.0.12812.24Anuj Mittal2023-02-241-6/+6
| | | | | | | Release notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.12812.24 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: ignore buildpaths warningAnuj Mittal2023-01-161-0/+3
| | | | | | | | | 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>
* intel-graphics-compiler: fix buildpaths warningsAnuj Mittal2023-01-092-2/+36
| | | | | | | | | | | 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>
* intel-graphics-compiler: refresh patchesAnuj Mittal2022-12-072-16/+14
| | | | | | | | | | | | | | | | | | Fixes fuzz warnings: | WARNING: intel-graphics-compiler-1.0.12812.9-r0 do_patch: Fuzz detected: | | Applying patch c707d1e2244aec988bdd5d2a7473ef3a32a5bac7.patch | patching file IGC/BiFModule/CMakeLists.txt | patching file IGC/CMakeLists.txt | patching file IGC/Compiler/CodeGenContext.cpp | Hunk #1 succeeded at 232 (offset 1 line). | patching file IGC/OCLFE/igd_fcl_mcl/source/clang_tb.cpp | patching file IGC/VectorCompiler/lib/BiF/CMakeLists.txt | Hunk #2 succeeded at 110 with fuzz 2. | patching file IGC/cmake/igc_llvm.cmake Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: fix build issues with LLVM12Anuj Mittal2022-12-072-0/+30
| | | | | | | | | | 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>
* intel-graphics-compiler: upgrade 1.0.12149.1 -> 1.0.12812.9Anuj Mittal2022-12-064-4/+277
| | | | | | | | | | | | | | | 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] https://github.com/intel/intel-graphics-compiler/commit/3fde0acae81b48b5225e1760e1feb9ae44ccdbb2 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* vc-intrinsics: update to latestNaveen Saini2022-10-251-1/+1
| | | | | | | Use tag v0.7.0 revision. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang/15.0.0: add recipeNaveen Saini2022-10-253-5/+23
| | | | | | | | 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>
* intel-graphics-compiler : upgrade 1.0.11702.1 -> 1.0.12149.1Yogesh Tyagi2022-09-291-2/+2
| | | | | | | | Release Notes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.12149.1 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime : upgrade 22.32.23937 -> 22.38.24278Yogesh Tyagi2022-09-291-1/+1
| | | | | | | | Release Notes: https://github.com/intel/compute-runtime/releases/tag/22.38.24278 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: add nobranch=1 in SRC_URIAnuj Mittal2022-09-191-1/+1
| | | | | | | | 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>
* intel-compute-runtime: upgrade 22.31.23852 -> 22.32.23937Anuj Mittal2022-08-171-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove support for LLVM 12Anuj Mittal2022-08-151-12/+0
| | | | | | | We can now build with LLVM 14 and no longer need to keep LLVM 12 patches and compatibility code. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 22.23.23405 -> 22.31.23852Anuj Mittal2022-08-121-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.11378 -> 1.0.11702.1Anuj Mittal2022-08-101-3/+3
| | | | | | | | Update vc-intrinsics to v0.5.0 tag. This release includes support for LLVM14. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 22.22.23355 -> 22.23.23405Anuj Mittal2022-06-171-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.11279 -> 1.0.11378Anuj Mittal2022-06-172-449/+1
| | | | | | Remove the backported patch. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 22.11.22682 -> 22.22.23355Anuj Mittal2022-06-102-237/+1
| | | | | | Remove upstreamed patch and revert to default for built-ins compilation. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.10395 -> 1.0.11279Anuj Mittal2022-06-109-161/+493
| | | | | | | | | | * 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>
* intel-compute-runtime: fix failures with gcc12Anuj Mittal2022-05-202-0/+235
| | | | | | | | | | | | | | | | | | | | | | | | Backport patch to fix build failures like: | recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:95:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] | 95 | delete __ptr; | | ^~~~~~~~~~~~ | git/shared/source/os_interface/windows/wddm/adapter_info.cpp: In function 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)': | git/shared/source/os_interface/windows/wddm/adapter_info.cpp:31:117: note: returned from 'void* operator new [](std::size_t)' | 31 | std::unique_ptr<uint64_t> storage{new uint64_t[(privateDataSizeNeeded + sizeof(uint64_t) - 1) / sizeof(uint64_t)]}; | | ^ | In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = long unsigned int]', | inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = long unsigned int; _Dp = std::default_delete<long unsigned int>]' at recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:396:17, | inlined from 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)' at git/shared/source/os_interface/windows/wddm/adapter_info.cpp:46:1: | recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:95:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] | 95 | delete __ptr; | | ^~~~~~~~~~~~ | git/shared/source/os_interface/windows/wddm/adapter_info.cpp: In function 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)': | git/shared/source/os_interface/windows/wddm/adapter_info.cpp:31:117: note: returned from 'void* operator new [](std::size_t)' | 31 | std::unique_ptr<uint64_t> storage{new uint64_t[(privateDataSizeNeeded + sizeof(uint64_t) - 1) / sizeof(uint64_t)]}; | | ^ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: define SRCREV_FORMATAnuj Mittal2022-05-101-0/+2
| | | | | | | Since this fetches multiple repositories, define SRCREV_FORMAT so SRCPV is expanded properly. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* vc-intrinsics: update to latestAnuj Mittal2022-04-131-2/+5
| | | | | | Use the revision just beyond newly created 0.1.0 tag and bump PE. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* opencl-clang: upgrade 13.0.0 -> 14.0.0Anuj Mittal2022-04-051-2/+2
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Remove support for building with LLVM 10Anuj Mittal2022-04-053-92/+0
| | | | | | | 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>
* compute-runtime: version update from 22.08.22549 to 22.11.22682Dongwon Kim2022-03-241-1/+1
| | | | | Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: fix compile issuesAnuj Mittal2022-03-223-0/+50
| | | | | | | | | | | | 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>
* intel-compute-runtime: fix patch fuzzAnuj Mittal2022-03-071-11/+9
| | | | | | | | | | | | | | | | | | 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>
* compute-runtime: version update from 21.40.21182 to 22.08.22549Dongwon Kim2022-03-042-4/+46
| | | | | Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: version update from 1.0.8744 to 1.0.10395Dongwon Kim2022-03-043-10/+43
| | | | | Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* meta: add explicit branch and protocol to SRC_URIAnuj Mittal2021-11-033-4/+4
| | | | | | | | | 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>
* intel-graphics-compiler: add PACKAGECONFIG for VectorCompilerNaveen Saini2021-10-251-6/+7
| | | | | | | 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>
* Remove support for gatesgarthAnuj Mittal2021-10-131-15/+0
| | | | | | | 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>
* intel-graphics-compiler: enable VectorCompilerAnuj Mittal2021-10-132-1/+41
| | | | | | | | 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>
* intel-compute-runtime: upgrade 21.37.20939 -> 21.40.21182Anuj Mittal2021-10-121-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 21.33.20678 -> 21.37.20939Anuj Mittal2021-10-073-141/+27
| | | | | | Disable built-ins compilation when building for native. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8744Anuj Mittal2021-10-076-2933/+56
| | | | | | | | 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>
* Revert "intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8708"Anuj Mittal2021-10-043-2/+2835
| | | | | | This reverts commit 8a1fb876b05a6c66e26dd2e42dee6f19bcfbd421. The upgrade doesn't build properly and needs re-work.
* intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8708Anuj Mittal2021-09-303-2835/+2
| | | | | | | | | 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>
* vc-intrinsics: update to include latest commitsNaveen Saini2021-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* opencl-clang/13.0.0: add recipeNaveen Saini2021-09-031-0/+15
| | | | | | | | 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>
* opencl-clang: restructureNaveen Saini2021-09-034-69/+34
| | | | | | | 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>