1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-23 06:58:31 +00:00

module_unstable_warning only for Intel Iris Graphics on Apple Intel

This commit is contained in:
Gabriele Gristina 2025-06-26 22:26:31 +02:00
parent 101096a7c7
commit 0e4b6894ee
No known key found for this signature in database
GPG Key ID: 9F68B59298F311F0
2 changed files with 11 additions and 5 deletions

View File

@ -109,11 +109,11 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
{
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
{
if (device_param->is_metal == false)
if (device_param->is_metal == true)
{
if (strncmp (device_param->device_name, "Apple M", 7) == 0)
if (strncmp (device_param->device_name, "Intel", 5) == 0)
{
// AppleM1, OpenCL, MTLCompilerService, createKernel never-end with pure kernel and newComputePipelineState failed with optimized kernel
// Intel Iris Graphics, Metal Version 244.303: failed to create 'm10700_loop' pipeline, timeout reached (status 49)
return true;
}
}

View File

@ -45,10 +45,16 @@ static const char *SIGNATURE_MULTIBIT = "$multibit$";
bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param)
{
// AppleM1, OpenCL, MTLCompilerService never-end
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
{
return true;
if (device_param->is_metal == true)
{
if (strncmp (device_param->device_name, "Intel", 5) == 0)
{
// Intel Iris Graphics, Metal Version 244.303: failed to create 'm22500_s04' pipeline, Compilation failed
return true;
}
}
}
return false;