1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-16 04:49:24 +00:00

Merge pull request #961 from matrix/ignoreDeviceSkipApple

Filter out OpenCL Intel Runtime broken check on Apple
This commit is contained in:
Jens Steube 2017-01-18 16:35:48 +01:00 committed by GitHub
commit 6169cf6214

View File

@ -2717,6 +2717,7 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
// Turns out that this is caused by Intel OpenCL runtime handling their GPU devices
// Disable such devices unless the user forces to use it
#if !defined (__APPLE__)
if (device_type & CL_DEVICE_TYPE_GPU)
{
if ((device_param->device_vendor_id == VENDOR_ID_INTEL_SDK) || (device_param->device_vendor_id == VENDOR_ID_INTEL_BEIGNET))
@ -2731,6 +2732,7 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
}
}
}
#endif // __APPLE__
// skipped