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

Potential problem with zeKernelSuggestGroupSize #124

Open
jczaja opened this issue Oct 25, 2023 · 1 comment
Open

Potential problem with zeKernelSuggestGroupSize #124

jczaja opened this issue Oct 25, 2023 · 1 comment

Comments

@jczaja
Copy link

jczaja commented Oct 25, 2023

My use case is that I have a buffer to be processed of a size 2^40 and I want to use zeKernelSuggestGroupSize to get
optimal setting of work group to be used. Problem is that spec claims that globalSizeX is of u32 type and this is not enough to hold 2^40 value. My spirv is processng linearly whole buffer (elementwise operation). So shouldn't zeKernelSuggestGroupSize's args globalSizeX, globalSizeY,globalSizeZ be of type of u64 or size_t ?

@wenju-he
Copy link

+1
OpenCL function clGetKernelSuggestedLocalWorkSizeKHR's input global_work_size and output suggested_local_work_size have type size_t.

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

No branches or pull requests

2 participants