-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Do not use current directory for JIT cache #4047
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
[SYCL] Do not use current directory for JIT cache #4047
Conversation
Remove storing JIT cache files to current directory when corresponding environment variables are not set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documents update looks okay, but we need to add regression unit-tests.
I missed the comment about llvm-test-suite tests in a separate PR. |
Set SYCL_CACHE_DIR to current directory to make sure that cache is enabled in all environments.
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better, but Release configuration of the test still should be improved.
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/kernel-and-program/PersistentDeviceCodeCache.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@pvchupin could you please review/approve? |
Remove storing JIT cache files to current directory when corresponding
environment variables are not set.
Complementary test change: intel/llvm-test-suite#337