Vendor Detection: Add "Intel" as a valid vendor name for GPU on macOS

This commit is contained in:
Jens Steube
2021-07-24 16:01:30 +02:00
parent 95af9964bf
commit 640d95a00f
2 changed files with 17 additions and 12 deletions
+4
View File
@@ -8844,6 +8844,10 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
{
opencl_device_vendor_id = VENDOR_ID_INTEL_SDK;
}
else if (strcmp (opencl_device_vendor, CL_VENDOR_APPLE_USE_INTEL2) == 0)
{
opencl_device_vendor_id = VENDOR_ID_INTEL_SDK;
}
else if (strcmp (opencl_device_vendor, CL_VENDOR_INTEL_BEIGNET) == 0)
{
opencl_device_vendor_id = VENDOR_ID_INTEL_BEIGNET;