Skip to content

[SYCL] Separate cache dir for tests and move cache config logic #6286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

steffenlarsen
Copy link
Contributor

This commit makes the following changes:

  • Makes each persistent device code cache test use a unique cache directory to prevent possible overlap.
  • Move the logic and caching of SYCL_CACHE_PERSISTENT and SYCL_CACHE_DIR to their own specializations of SYCLConfig. This removes the need for PersistentDeviceCodeCache::reparseConfig as the SYCLConfig specializations offer their own reset functionality.

This commit makes the following changes:
* Makes each persistent device code cache test use a unique cache
  directory to prevent possible overlap.
* Move the logic and caching of SYCL_CACHE_PERSISTENT and SYCL_CACHE_DIR
  to their own specializations of SYCLConfig. This removes the need for
  PersistentDeviceCodeCache::reparseConfig as the SYCLConfig
  specializations offer their own reset functionality.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner June 10, 2022 00:13
@steffenlarsen steffenlarsen requested a review from v-klochkov June 10, 2022 00:13
@pvchupin pvchupin merged commit 1abad42 into intel:sycl Jun 10, 2022
@steffenlarsen steffenlarsen deleted the steffen/fix_persistent_cache_interference branch December 6, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants