OpenCL: invalid work group size
Submitted by Daniel Sabo
Link to original bug (#712202)
Description
When running tests on the CPU version of Apple's OpenCL I get the following errors:
(gegl:10451): GEGL-box-blur.c-WARNING **: Error in box-blur.c:230@cl_box_blur - invalid work group size
(gegl:10451): GEGL-box-blur.c-WARNING **: Error in box-blur.c:230@cl_box_blur - invalid work group size
(gegl:11740): GEGL-stretch-contrast.c-WARNING **: Error in stretch-contrast.c:208@cl_buffer_get_min_max - invalid work group size
None of these are crashes so the tests still pass in fallback mode, it appears to be because the only valid number of workgroups in the Y dimension (the 2nd value of CL_DEVICE_MAX_WORK_ITEM_SIZES) is 1 on this implementation:
0: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
CL_DEVICE_MAX_WORK_ITEM_SIZES: 1024 1 1
Version: git master