Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Handle more items than the maximum number of work items. #51

Open
tremmelg opened this issue Jan 5, 2018 · 0 comments
Open

Handle more items than the maximum number of work items. #51

tremmelg opened this issue Jan 5, 2018 · 0 comments

Comments

@tremmelg
Copy link
Collaborator

tremmelg commented Jan 5, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant