mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Backend Devices: Reduce maximum workitems limited derived from available host memory down from to 8GB to 4GB per backend device
This commit is contained in:
parent
01365ba471
commit
4ef1509bc7
@ -19,6 +19,7 @@
|
||||
## Technical
|
||||
##
|
||||
|
||||
- Backend Devices: Reduce maximum workitems limited derived from available host memory down from to 8GB to 4GB per backend device
|
||||
- Makefile: Added wildcard include src/modules/module_*.mk directive so that plugin developers can add 3rd party libraries for their plugins
|
||||
- Rejects: Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible
|
||||
- POCL: Added a workaround for an issue in POCL that uses a quote character as part of the path itself given to a path for the -I option
|
||||
|
@ -14546,11 +14546,11 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
// In theory this check could be disabled if we check if total video RAM < total host RAM,
|
||||
// but at this point of initialization phase we don't have this information available.
|
||||
|
||||
// We need to hard-code some value, let's assume that (in 2021) the host has at least 8GB ram per active GPU
|
||||
// We need to hard-code some value, let's assume that (in 2021) the host has at least 4GB ram per active GPU
|
||||
|
||||
const u64 SIZE_8GB = 8ULL * 1024 * 1024 * 1024;
|
||||
const u64 SIZE_4GB = 4ULL * 1024 * 1024 * 1024;
|
||||
|
||||
u64 accel_limit = SIZE_8GB;
|
||||
u64 accel_limit = SIZE_4GB;
|
||||
|
||||
// this is device_processors * kernel_threads
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user