mirror of
https://github.com/hashcat/hashcat
synced 2025-03-22 21:14:22 +01:00
Fix some clSetKernelArg() size error that caused slow modes to not work anymore in -a 1 mode
This commit is contained in:
parent
94eab8a7b6
commit
d80653b014
@ -4673,7 +4673,7 @@ int opencl_session_update_combinator (opencl_ctx_t *opencl_ctx, const hashconfig
|
|||||||
|
|
||||||
if (hashconfig->attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
|
if (hashconfig->attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
|
||||||
{
|
{
|
||||||
CL_err = hc_clSetKernelArg (opencl_ctx->ocl, device_param->kernel_amp, 5, sizeof (cl_mem), device_param->kernel_params_amp[5]);
|
CL_err = hc_clSetKernelArg (opencl_ctx->ocl, device_param->kernel_amp, 5, sizeof (cl_uint), device_param->kernel_params_amp[5]);
|
||||||
|
|
||||||
if (CL_err != CL_SUCCESS)
|
if (CL_err != CL_SUCCESS)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user