[gegl] pixelize: add missing CL_CHECK
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] pixelize: add missing CL_CHECK
- Date: Sun, 20 Oct 2013 11:46:08 +0000 (UTC)
commit 655c243af537644cf00a9ba7ca6182265bc93967
Author: Daniel Sabo <DanielSabo gmail com>
Date: Sun Oct 20 04:44:46 2013 -0700
pixelize: add missing CL_CHECK
operations/common/pixelize.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/pixelize.c b/operations/common/pixelize.c
index a3eac59..3766ece 100644
--- a/operations/common/pixelize.c
+++ b/operations/common/pixelize.c
@@ -253,6 +253,7 @@ cl_pixelise (cl_mem in_tex,
sizeof(cl_int), (void*)&block_count_x,
NULL);
CL_CHECK;
+
cl_err = gegl_clEnqueueNDRangeKernel (gegl_cl_get_command_queue (),
cl_data->kernel[0], 2,
NULL, gbl_size_tmp, NULL,
@@ -268,6 +269,7 @@ cl_pixelise (cl_mem in_tex,
sizeof(cl_int), (void*)&roi->y,
sizeof(cl_int), (void*)&block_count_x,
NULL);
+ CL_CHECK;
cl_err = gegl_clEnqueueNDRangeKernel (gegl_cl_get_command_queue (),
cl_data->kernel[1], 2,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]