OpenCL data processing
The data processed by OpenCL is in an index space of work-items.
The work-items are organized in an NDRange where:
N is the number of dimensions.
N can be one, two, or three.
One kernel instance is executed for each work-item in the index space.
The following figure shows NDRanges with one, two, and three dimensions.
Figure 3-1 NDRanges and work-items
You group work-items into work-groups for processing. The following figure shows a three-dimensional NDRange that is split into 16 work-groups, each with 16 work-items.
Figure 3-2 Work-items and work-groups.