projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c1500
)
Prevent NV OpenCL runtime to cache kernels to ~/.nv by using an undocumented environm...
author
jsteube
<jens.steube@gmail.com>
Sun, 3 Apr 2016 15:39:33 +0000
(17:39 +0200)
committer
jsteube
<jens.steube@gmail.com>
Sun, 3 Apr 2016 15:39:33 +0000
(17:39 +0200)
src/oclHashcat.c
patch
|
blob
|
history
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
*/