level-zero
level-zero copied to clipboard
Potential problem with zeKernelSuggestGroupSize
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 ?
+1 OpenCL function clGetKernelSuggestedLocalWorkSizeKHR's input global_work_size and output suggested_local_work_size have type size_t.