1
0
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:
Jens Steube 2020-03-13 10:01:57 +01:00
parent 119344c084
commit 434ad76381

View File

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