[gegl] opencl: forgot the opencl_support flag



commit c7eb7fd502f58e646ce6b0973774bd44cec8d56c
Author: Victor Oliveira <victormatheus gmail com>
Date:   Sat Apr 28 15:58:30 2012 -0300

    opencl: forgot the opencl_support flag

 gegl/process/gegl-processor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gegl/process/gegl-processor.c b/gegl/process/gegl-processor.c
index 2a22a22..d4d1356 100644
--- a/gegl/process/gegl-processor.c
+++ b/gegl/process/gegl-processor.c
@@ -767,7 +767,8 @@ gegl_processor_work (GeglProcessor *processor,
           for (iterator = visits_list; iterator; iterator = iterator->next)
             {
               GeglNode *node = (GeglNode*) iterator->data;
-              if (GEGL_OPERATION_GET_CLASS(node->operation)->cl_data)
+              if (GEGL_OPERATION_GET_CLASS(node->operation)->cl_data
+                  || GEGL_OPERATION_GET_CLASS(node->operation)->opencl_support)
                 {
                   processor->chunk_size = GEGL_CL_CHUNK_SIZE;
                   break;



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