projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent NV OpenCL runtime to cache kernels to ~/.nv by using an undocumented environm...
[hashcat.git]
/
src
/
oclHashcat.c
diff --git
a/src/oclHashcat.c
b/src/oclHashcat.c
index
8fa81ce
..
689fc27
100644
(file)
--- a/
src/oclHashcat.c
+++ b/
src/oclHashcat.c
@@
-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
*/