From c1edc5d562ce3e31bce620393ccf99055d3f1240 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 2 Aug 2018 20:20:58 +0200 Subject: [PATCH] Increase max PWS space to 1GB to allow higher -n values for GPU with lots of compute units --- src/opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opencl.c b/src/opencl.c index b9057c286..9bd9e90ea 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -6093,7 +6093,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx) // this value should represent a reasonable amount of memory a host system has per GPU. // note we're allocating 3 blocks of that size. - #define PWS_SPACE (512 * 1024 * 1024) + #define PWS_SPACE (1024 * 1024 * 1024) // sometimes device_global_mem and device_maxmem_alloc reported back from the opencl runtime are a bit inaccurate. // let's add some extra space just to be sure.