summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for LLVM 12Anuj Mittal2022-08-159-5565/+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>
* onednn: turn on PACKAGECONFIG for GPU engineAnuj Mittal2022-08-121-1/+1
| | | | | | | Build OCL GPU engine by default now that compute runtime works with latest LLVM. 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>
* ispc : upgrade 1.17.0 -> 1.18.0Yogesh Tyagi2022-07-273-56/+47
| | | | | | | | | | | | | * 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>
* onednn : Upgrade 2.6 -> 2.6.1Yogesh Tyagi2022-07-211-1/+1
| | | | | | | | Release Notes: https://github.com/oneapi-src/oneDNN/releases/tag/v2.6.1 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* 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>
* onednn: upgrade 2.5.3 -> 2.6Naveen Saini2022-05-061-2/+2
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* ispc: disable build for Windows, android and other targetsNaveen Saini2022-04-221-0/+5
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* llvm-project-source: refresh patchesAnuj Mittal2022-04-196-40/+5033
| | | | | | | Refresh the patches as recommended by the opencl-clang and include support for OpenCL 3.0. 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-0527-14760/+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>
* onednn: upgrade 2.5.2 -> 2.5.3Naveen Saini2022-03-071-1/+1
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> 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>
* ipsc: upgrade 1.16.1 -> 1.17.0Ezhilarasan2022-03-024-51/+65
| | | | | | | | Release notes: https://github.com/ispc/ispc/releases/tag/v1.17.0 Signed-off-by: Ezhilarasan <ezhilarasanx.s@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* onednn: upgrade 2.4.4 -> 2.5.2ezhilarasan s2022-02-121-2/+2
| | | | | | | | | | | | *Fixed performance regression in binary primitive with broadcast (b972174, ff75122). *Fixed issue with SYCL device properties initialization (cabc5ca, 095f13e). *Fixed issue in matmul primitive with zero points (3157354). *Fixed segmentation fault in depthwise convolution primitive for shapes with huge spatial size for processors with Intel AVX-512 support (6834764, 1d2addc). *Fixed issue in forward convolution primitive for processors with Intel AVX2 support (d691137). *Fixed performance regression on GPUs with SYCL runtime (d8364e5). Signed-off-by: ezhilarasan s <ezhilarasanx.s@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* onednn: upgrade 2.4 -> 2.4.4Anuj Mittal2021-11-241-1/+1
| | | | | | | Release notes: https://github.com/oneapi-src/oneDNN/releases/tag/v2.4.4 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* meta: add explicit branch and protocol to SRC_URIAnuj Mittal2021-11-034-5/+5
| | | | | | | | | 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>
* llvm-project-source/10.0.1: backport fixes from LLVM 11Anuj Mittal2021-10-214-0/+3033
| | | | | | | | | | | 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>
* Remove support for gatesgarthAnuj Mittal2021-10-1312-9653/+1
| | | | | | | 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>
* onednn: upgrade 2.3.2 -> 2.4Anuj Mittal2021-10-121-3/+2
| | | | | | | | | Release notes: https://github.com/oneapi-src/oneDNN/releases/tag/v2.4 Remove reference to Mathjax license as it's no longer used. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* 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>
* opencl-clang/12.0.0: build with llvm-12 onlyNaveen Saini2021-09-031-1/+1
| | | | | | | | 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>
* intel-graphics-compiler: LLVM 13 fixesZoltán Böszörményi2021-08-272-0/+440
| | | | | | | | 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>
* llvm/10.0.0: apply ispc recommended patchesNaveen Saini2021-08-279-0/+657
| | | | | | | | | | 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>
* llvm/11.0.0: apply ispc recommended patchesNaveen Saini2021-08-273-0/+144
| | | | | | | | | | 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>
* llvm/12.0.0: apply ispc recommended patchesNaveen Saini2021-08-273-0/+104
| | | | | | | | | | 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>
* compute-runtime: move up to the commit for ADL-P supportDongwon Kim2021-08-261-1/+1
| | | | | | | | 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>
* onednn: upgrade 2.2.3 -> 2.3.2Anuj Mittal2021-08-252-42/+3
| | | | | | | | | Release notes: https://github.com/oneapi-src/oneDNN/releases License-Update: Copyright years updated Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* intel-compute-runtime: upgrade 21.04.18912 -> 21.33.20678Dongwon Kim2021-08-243-25/+144
| | | | | | | | | | | | | | | 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>
* intel-graphics-compiler: update IGC to 1.0.8365Dongwon Kim2021-08-249-1091/+617
| | | | | | | | 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>