mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-07 06:11:01 +00:00
Fix benchmark unwanted exit with long running kernels
This commit is contained in:
parent
6238aa884b
commit
1e2869e8bd
@ -359,7 +359,7 @@ int choose_kernel (opencl_ctx_t *opencl_ctx, hc_device_param_t *device_param, co
|
|||||||
|
|
||||||
if (user_options->benchmark == true)
|
if (user_options->benchmark == true)
|
||||||
{
|
{
|
||||||
if (speed_ms > 4096) myabort (opencl_ctx);
|
if (speed_ms > 4096) return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user