opencl - Is CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS always three? -
the description is:
return type: cl_uint
maximum dimensions specify global , local work-item ids used data parallel execution model. (refer clenqueuendrangekernel). minimum value 3.
the description work_dim in clenqueuendrangekernel is:
work_dim: number of dimensions used specify global work-items , work-items in work-group. work_dim must greater 0 , less or equal three.
so if work_dim can never greater 3 maximum dimensions never greater three, right?
most it's typo in version 1.0 suggested @simon richter. , seems corrected. note starting version 1.1 explanation given work_dim is:
the number of dimensions used specify global work-items , work-items in work-group. work_dim must greater 0 , less or equal cl_device_max_work_item_dimensions.
Comments
Post a Comment