Add missing branch in automatic alias device selection
This commit is contained in:
+5
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user