mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Improve alias device detection to distinguish between Intel CPU and embedded GPU
This commit is contained in:
parent
119344c084
commit
434ad76381
@ -43,6 +43,10 @@ static bool is_same_device (const hc_device_param_t *src, const hc_device_param_
|
||||
if (src->pcie_device != dst->pcie_device) return false;
|
||||
if (src->pcie_function != dst->pcie_function) return false;
|
||||
|
||||
// Intel CPU and embedded GPU would survive up to here!
|
||||
|
||||
if (src->opencl_device_type != dst->opencl_device_type) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user