This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Description
Implement the algorithms so they have multiple passes when there are more items than the maximum number of work items. E.g. when using a 64-bit host and a 32-bit device.
https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/clEnqueueNDRangeKernel.html:
CL_INVALID_GLOBAL_WORK_SIZE if global_work_size is NULL, or if any of the values specified in global_work_size[0], ...global_work_size [work_dim - 1] are 0 or exceed the range given by the sizeof(size_t) for the device on which the kernel execution will be enqueued.