1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 13:40:56 +00:00

Add missing branch in automatic alias device selection

This commit is contained in:
Jens Steube 2020-06-03 12:31:17 +02:00
parent dc9f4e993a
commit 1e469a96a4

View File

@ -98,9 +98,12 @@ static int backend_ctx_find_alias_devices (hashcat_ctx_t *hashcat_ctx)
if (alias_device->is_cuda == true) continue;
// this lets native OpenCL runtime survive over generic OpenCL runtime
// this lets native OpenCL runtime survive over generic OpenCL runtime
if (alias_device->opencl_platform_vendor_id == alias_device->opencl_device_vendor_id) continue;
if (alias_device->opencl_device_type & CL_DEVICE_TYPE_CPU)
{
if (alias_device->opencl_platform_vendor_id == alias_device->opencl_device_vendor_id) continue;
}
alias_device->skipped = true;