Returns the number of global work-items specified for dimension identified by dimindx.

size_t get_global_size(uint dimindx)


This value is given by the global_work_size argument to clEnqueueNDRangeKernel. Valid values of dimindx are 0 to get_work_dim() - 1. For other values of dimindx, get_global_size() returns 1.

For clEnqueueTask, this always returns 1.

Also see