Add missing branch in automatic alias device selection

pull/2431/head
Jens Steube 4 years ago
parent dc9f4e993a
commit 1e469a96a4

@ -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;

Loading…
Cancel
Save