1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it

This commit is contained in:
jsteube 2018-06-17 09:06:12 +02:00
parent 124d10989c
commit c3fc50294f

View File

@ -303,10 +303,8 @@ 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");