1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU)

This commit is contained in:
Jens Steube 2019-06-22 16:01:38 +02:00
parent 6dfb474adf
commit 2cda236a18
2 changed files with 7 additions and 3 deletions

View File

@ -70,6 +70,7 @@
- OpenCL Runtime: Workaround JiT compiler error on ROCM 2.3 driver if the 'inline' keyword is used in function declaration
- OpenCL Runtime: Workaround memory allocation error on AMD driver on Windows leading to CL_MEM_OBJECT_ALLOCATION_FAILURE
- OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR
- OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU)
- Startup Screen: Provide an estimate of host memory requirements for the requested attack
- Tuning Database: Updated hashcat.hctune with new models and refreshed vector width values
- WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes

View File

@ -6123,11 +6123,14 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
if (CL_rc == -1) return -1;
if (device_local_mem_size < 32768)
if (device_local_mem_type == CL_LOCAL)
{
event_log_error (hashcat_ctx, "* Device #%u: This device's local mem size is too small.", device_id + 1);
if (device_local_mem_size < 32768)
{
event_log_error (hashcat_ctx, "* Device #%u: This device's local mem size is too small.", device_id + 1);
device_param->skipped = true;
device_param->skipped = true;
}
}
device_param->device_local_mem_size = device_local_mem_size;