mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 21:51:07 +00:00
Do not check for COPY_PW limits in outside kernels
This commit is contained in:
parent
80a872121a
commit
5d1d48f5d7
@ -9401,6 +9401,8 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// __local pw_t s_pws[64];
|
// __local pw_t s_pws[64];
|
||||||
|
|
||||||
if (user_options->attack_mode == ATTACK_MODE_STRAIGHT)
|
if (user_options->attack_mode == ATTACK_MODE_STRAIGHT)
|
||||||
|
{
|
||||||
|
if (hashconfig->attack_exec == ATTACK_EXEC_INSIDE_KERNEL)
|
||||||
{
|
{
|
||||||
if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL)
|
if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL)
|
||||||
{
|
{
|
||||||
@ -9411,6 +9413,7 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
device_param->kernel_threads_max = MIN (device_param->kernel_threads_max, 64);
|
device_param->kernel_threads_max = MIN (device_param->kernel_threads_max, 64);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* now everything that depends on threads and accel, basically dynamic workload
|
* now everything that depends on threads and accel, basically dynamic workload
|
||||||
|
Loading…
Reference in New Issue
Block a user