llvm
llvm copied to clipboard
[SYCL] adding binary caching support to kernel_compiler extension
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.
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.
@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 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
@cperkinsintel Does it seem like an easy fix? If not we might want to disable the test or revert the change. Thanks