1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-30 18:39:15 +00:00

Workaround some AMD device_maxmem_alloc / device_global_mem problem

This commit is contained in:
jsteube 2016-05-26 00:07:08 +02:00
parent 250dbde2a2
commit 167d763795

View File

@ -14471,11 +14471,8 @@ int main (int argc, char **argv)
int skip = 0;
if (size_pws > device_param->device_maxmem_alloc) skip = 1;
if (size_tmps > device_param->device_maxmem_alloc) skip = 1;
if (size_hooks > device_param->device_maxmem_alloc) skip = 1;
if (( bitmap_size
const u64 size_total
= bitmap_size
+ bitmap_size
+ bitmap_size
+ bitmap_size
@ -14500,7 +14497,12 @@ int main (int argc, char **argv)
+ size_scryptV
+ size_shown
+ size_tm
+ size_tmps) > device_param->device_global_mem) skip = 1;
+ size_tmps;
// Don't ask me, ask AMD!
if (size_total > device_param->device_maxmem_alloc) skip = 1;
if (size_total > device_param->device_global_mem) skip = 1;
if (skip == 1)
{