Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kernel generator method to create kernel headers that combine 10s of small arrays as a single big array. #3

Open
tugrul512bit opened this issue May 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tugrul512bit
Copy link
Owner

Some devices can not allocate arrays bigger than 128MB. With this feature, all free space (like 16GB) of VRAM can be used at once. It just requires power-of-2 sized sub-arrays and log(n) number of indexing-steps to select an element. As long as all workitems do similar indexing, it should work fast.

I don't know how else an OpenCL 1.2 kernel can access whole VRAM from a single buffer parameter.

@tugrul512bit tugrul512bit added the enhancement New feature or request label May 19, 2023
@tugrul512bit tugrul512bit self-assigned this May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant