compute-runtime/opencl
Fabian Zwolinski e96dd344c3 feature: add new environment variables for compiler cache on Windows
Changes:
- replaced registry keys with environment variables
for cl_cache in OCL
- added compiler cache helpers
- implemented support for new env vars on Windows
- added tests

New env vars mechanism works as follows:
If `PERSISTENT_CACHE` is set,
driver checks if `NEO_CACHE_DIR` is set.
If `NEO_CACHE_DIR` is not set,
driver uses `%LocalAppData%\NEO\neo_compiler_cache`
as `cl_cache` destination folder.
If `NEO_CACHE_DIR` is not set and `%LocalAppData%`
path could not be obtained,
compiler cache is disabled.

In the current Windows implementation,
special characters in the folder path are not supported.

Related-To: NEO-8092
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-09-21 12:40:48 +02:00
..
doc feature: add new environment variables for compiler cache on Windows 2023-09-21 12:40:48 +02:00
extensions/public refactor: Rename member variables to camelCase 3/n 2023-04-28 16:01:14 +02:00
source feature: add new environment variables for compiler cache on Windows 2023-09-21 12:40:48 +02:00
test feature: add new environment variables for compiler cache on Windows 2023-09-21 12:40:48 +02:00
CMakeLists.txt feature: add experimental support for cl-gl sharing on Linux 2023-03-20 12:49:52 +01:00