mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-31 10:58:49 +00:00
Workaround some AMD device_maxmem_alloc / device_global_mem problem
This commit is contained in:
parent
250dbde2a2
commit
167d763795
@ -14471,11 +14471,8 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
|
|
||||||
if (size_pws > device_param->device_maxmem_alloc) skip = 1;
|
const u64 size_total
|
||||||
if (size_tmps > device_param->device_maxmem_alloc) skip = 1;
|
= bitmap_size
|
||||||
if (size_hooks > device_param->device_maxmem_alloc) skip = 1;
|
|
||||||
|
|
||||||
if (( bitmap_size
|
|
||||||
+ bitmap_size
|
+ bitmap_size
|
||||||
+ bitmap_size
|
+ bitmap_size
|
||||||
+ bitmap_size
|
+ bitmap_size
|
||||||
@ -14500,7 +14497,12 @@ int main (int argc, char **argv)
|
|||||||
+ size_scryptV
|
+ size_scryptV
|
||||||
+ size_shown
|
+ size_shown
|
||||||
+ size_tm
|
+ 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)
|
if (skip == 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user