Commit 29c45edd authored by Jan Vesely's avatar Jan Vesely Committed by Daniel Sabo

alien-map: Check error from gegl_cl_set_kernel_args

parent 73b49ddc
......@@ -181,13 +181,13 @@ cl_process (GeglOperation *operation,
keep.s[1] = (cl_int)o->cpn_2_keep;
keep.s[2] = (cl_int)o->cpn_3_keep;
gegl_cl_set_kernel_args (cl_data->kernel[0],
sizeof(cl_mem), &in,
sizeof(cl_mem), &out,
sizeof(cl_float3), &freq,
sizeof(cl_float3), &phaseshift,
sizeof(cl_int3), &keep,
NULL);
cl_err = gegl_cl_set_kernel_args (cl_data->kernel[0],
sizeof(cl_mem), &in,
sizeof(cl_mem), &out,
sizeof(cl_float3), &freq,
sizeof(cl_float3), &phaseshift,
sizeof(cl_int3), &keep,
NULL);
CL_CHECK;
cl_err = gegl_clEnqueueNDRangeKernel (gegl_cl_get_command_queue (),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment