mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-27 17:08:12 +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:
parent
67c1500cc2
commit
5f05fbf103
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user