mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Increase max PWS space to 1GB to allow higher -n values for GPU with lots of compute units
This commit is contained in:
parent
2a5677e15f
commit
c1edc5d562
@ -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.
|
// this value should represent a reasonable amount of memory a host system has per GPU.
|
||||||
// note we're allocating 3 blocks of that size.
|
// 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.
|
// 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.
|
// let's add some extra space just to be sure.
|
||||||
|
Loading…
Reference in New Issue
Block a user