mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 07:28:10 +00:00
Merge pull request #961 from matrix/ignoreDeviceSkipApple
Filter out OpenCL Intel Runtime broken check on Apple
This commit is contained in:
commit
6169cf6214
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user