1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-04 22:49:15 +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:
jsteube 2018-08-02 20:20:58 +02:00
parent 2a5677e15f
commit c1edc5d562

View File

@ -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.