llvm
llvm copied to clipboard
Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Add several tests for the free function kernel extension as per the test plan: https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/FreeFunctionKernels/test-plan.md
LIT is perfectly capable of checking the exit code and there is no need to deal with any extra output parsing and I/O.
Recently E2E tests related to CCS configuration started to fail: https://github.com/intel/llvm/issues/18576 However, in hindsight, we set `ZEX_NUMBER_OF_CCS` to `0:4`, which unexpectedly causes issues: - Battlemage only supports _up to_ 2...
WIP... Right now this is gated behind `UR_HOST_TASK=1`. SYCL changes are there just for testing. I'm not sure how it will end up looking like. Known limitations: - Accessing USM...
Some sampling/sampled-fetch/read API tests fail on windows L0 only at O0 opt level. I've added tests for this here: https://github.com/intel/llvm/pull/18485 These tests fail with ``` SYCL exception caught! : The...
This PR adds the LowerSPIRVAddressSpaceCastsPass, which lowers IR patterns like ``` %0 = addrspacecast ptr addrspace(n) %src to ptr addrspace(4) %1 = call ptr addrspace(n) @cast(ptr addrspace(4) %0, ...) ```...
It's reference to impl of handler, so it's correct to return the reference.
``` $ llvm-lit Graph/NativeCommand/invalid.cpp --param test-preview-mode=True --param test-mode=build-only -v ... invalid.cpp:27:16: error: no matching member function for call to 'ext_codeplay_get_native_graph' ``` ``` $ llvm-lit Graph/Update --param test-preview-mode=True --param test-mode=build-only ......
``` $ llvm-lit Experimental/launch_queries/{max_work_group_size.cpp,max_work_item_sizes.cpp} --param test-preview-mode=True --param test-mode=build-only -v ... FAIL: SYCL :: Experimental/launch_queries/max_work_item_sizes.cpp (1 of 2) ... undefined reference to `sycl::_V1::detail::is_kernel_queue_specific_info_desc::return_type sycl::_V1::kernel::ext_oneapi_get_info(sycl::_V1::queue) const' ... FAIL: SYCL :: Experimental/launch_queries/max_work_group_size.cpp (2...
### Describe the bug Failed on Windows: https://github.com/intel/llvm/actions/runs/15560297789/job/43810657488?pr=18890 ``` [ RUN ] RootGroupTests.ValidNumWorkGroupsQuery Exception Code: 0xE06D7363 #0 0x00007ffa6d3e933a (C:\WINDOWS\System32\KERNELBASE.dll+0xc933a) #1 0x00007ffa544c26be (C:\WINDOWS\SYSTEM32\MSVCP140.dll+0x26be) #2 0x00007ff69ad37e3e std::rethrow_exception(class std::exception_ptr) C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\include\exception:317:0...