NDRange
NDRange, short for N-dimensional range, is a term used in OpenCL to describe the size and shape of the index space over which a kernel is executed. It represents an N-dimensional domain of work-items, typically 1D, 2D, or 3D. Each work-item corresponds to a point in this domain and can perform computation for that point. Inside the kernel, the coordinates of a work-item are obtained using built-in functions such as get_global_id(d), where d is the dimension index.
The NDRange is defined when launching a kernel on a command queue. It is specified by the
Execution proceeds by mapping the NDRange into work-groups. Each work-group has its own local coordinates, accessible
In OpenCL, the API function clEnqueueNDRangeKernel enqueues kernels with a specified dimension (1, 2, or 3) and