llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL] adding binary caching support to kernel_compiler extension

Open cperkinsintel opened this issue 1 year ago • 1 comments

Trying to reuse as much of the PersistentDeviceCodeCache as possible. We use the same top cache directory as the regular binary caches, but with a ext_kernel_compiler subdirectory and a slightly different system for assigning paths.

Rather than write new tests, am just adding a "test the cache" passes to the existing tests.

cperkinsintel avatar Sep 27 '24 17:09 cperkinsintel

The Jenkins/Precommit failure seems to be unrelated. Several other PRs are having the RHEL Build fail and a quick test seems to suggest it is a UR dependency problem.

cperkinsintel avatar Sep 30 '24 17:09 cperkinsintel

@uditagarwal97 also has a PR in the works which changes how the SYCL_CACHE_TRACE env var behaves. https://github.com/intel/llvm/pull/15822 There likely won't be merge conflicts with this PR, but the tests in this PR will need to be updated when that change lands.

cperkinsintel avatar Oct 23 '24 19:10 cperkinsintel

@cperkinsintel Could you please take a look at post-commit failure on gen12 and arc:


Failed Tests (1): SYCL :: KernelCompiler/kernel_compiler_sycl.cpp

https://github.com/intel/llvm/actions/runs/11634776354/job/32403188036 https://github.com/intel/llvm/actions/runs/11634776354/job/32403188263

againull avatar Nov 01 '24 20:11 againull

@cperkinsintel Does it seem like an easy fix? If not we might want to disable the test or revert the change. Thanks

sarnex avatar Nov 04 '24 16:11 sarnex