1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00

Aim for -n 64 in autotune

This commit is contained in:
Jens Steube 2016-05-06 11:52:19 +02:00
parent c40bf412e5
commit 50a7638e7b

View File

@ -2909,10 +2909,10 @@ static void autotune (hc_device_param_t *device_param)
// sometimes we're in a bad situation that the algorithm is so slow that we can not
// create enough kernel_accel to do both, keep the gpu busy and stay below target_ms.
// however, we need to have a minimum kernel_accel of 8.
// however, we need to have a minimum kernel_accel of 64.
// luckily, at this level of workload, it became a linear function
while (kernel_accel < 8)
while (kernel_accel < 64)
{
const u32 kernel_accel_try = kernel_accel * 2;
const u32 kernel_loops_try = kernel_loops / 2;