[PATCH 1/1] alien-map: Check error from gegl_cl_set_kernel_args

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

 



Signed-off-by: Jan Vesely <jan.vesely@xxxxxxxxxxx>
---
 operations/common/alien-map.c | 14 +++++++-------
 1 file 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 (),
-- 
1.9.0

_______________________________________________
gegl-developer-list mailing list
List address:    gegl-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list





[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux