1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Fix -m 1800 speed on ROCM

This commit is contained in:
Jens Steube 2019-11-24 08:50:31 +01:00
parent d518bd3903
commit d315f61414

View File

@ -434,7 +434,14 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
{
char *jit_build_options = NULL;
if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true))
{
// unroll is faster on rocm in this kernel
}
else
{
hc_asprintf (&jit_build_options, "-D NO_UNROLL");
}
return jit_build_options;
}