Click an item in the table below for details about that function.

Number of dimensions in use

Number of global work items

Global work item ID value

Number of local work items

Same as get_local_size(dimindx) if the kernel is executed with a uniform work-group size

Local work item ID

Number of work groups

Work group ID

Work offset

Work-items 1-dimensional global ID

Work-items 1-dimensional local ID


Built-in work-item functions can be used to query the number of dimensions, the global and local work size specified to clEnqueueNDRangeKernel, and the global and local identifier of each work-item when this kernel is being executed on a device.

Also see