1
mirror of https://github.com/hashcat/hashcat synced 2024-11-28 05:21:38 +01:00

Allow unroll code in -m 18200 on NV GPU

This commit is contained in:
Jens Steube 2020-03-04 13:32:42 +01:00
parent b6feddd81f
commit 8a2a821c03

View File

@ -64,6 +64,12 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
return jit_build_options;
}
// NVIDIA GPU
if (device_param->opencl_device_vendor_id == VENDOR_ID_NV)
{
hc_asprintf (&jit_build_options, "-D _unroll");
}
// AMD-GPU-PRO
if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
{