1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Try original NV kernel bytecode cache for faster startup, see how user response is

This commit is contained in:
jsteube 2018-06-16 22:26:39 +02:00
parent 547025ec47
commit 124d10989c

View File

@ -303,8 +303,10 @@ void setup_environment_variables ()
if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL) if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL)
putenv ((char *) "OCL_CODE_CACHE_ENABLE=0"); putenv ((char *) "OCL_CODE_CACHE_ENABLE=0");
/*
if (getenv ("CUDA_CACHE_DISABLE") == NULL) if (getenv ("CUDA_CACHE_DISABLE") == NULL)
putenv ((char *) "CUDA_CACHE_DISABLE=1"); putenv ((char *) "CUDA_CACHE_DISABLE=1");
*/
if (getenv ("POCL_KERNEL_CACHE") == NULL) if (getenv ("POCL_KERNEL_CACHE") == NULL)
putenv ((char *) "POCL_KERNEL_CACHE=0"); putenv ((char *) "POCL_KERNEL_CACHE=0");