1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Allow -m 1800 in optimized mode on AMDGPU drivers

This commit is contained in:
jsteube 2019-04-04 22:06:12 +02:00
parent 3274220d7f
commit 8008d65499

View File

@ -453,7 +453,10 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
// amdgpu-pro-18.50-708488-ubuntu-18.04: self-test failed
if ((device_param->device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
{
return true;
if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0)
{
return true;
}
}
if (device_param->platform_vendor_id == VENDOR_ID_APPLE)