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

Prevent NV OpenCL runtime to cache kernels to ~/.nv by using an undocumented environment variable CUDA_CACHE_DISABLE

This commit is contained in:
jsteube 2016-04-03 17:39:33 +02:00
parent 67c1500cc2
commit 5f05fbf103

View File

@ -5324,6 +5324,9 @@ int main (int argc, char **argv)
if (getenv ("GPU_USE_SYNC_OBJECTS") == NULL)
putenv ((char *) "GPU_USE_SYNC_OBJECTS=1");
if (getenv ("CUDA_CACHE_DISABLE") == NULL)
putenv ((char *) "CUDA_CACHE_DISABLE=1");
/**
* Real init
*/