[gegl] alien-map: Check error from gegl_cl_set_kernel_args



commit 29c45edd81cc4fb6efd1a46b87c217f18d4ca3f5
Author: Jan Vesely <jan vesely rutgers edu>
Date:   Sun Apr 20 12:07:20 2014 -0400

    alien-map: Check error from gegl_cl_set_kernel_args

 operations/common/alien-map.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/operations/common/alien-map.c b/operations/common/alien-map.c
index 7efe29d..ff48d34 100644
--- a/operations/common/alien-map.c
+++ b/operations/common/alien-map.c
@@ -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 (),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]