In OpenCL, how can I know the exact size of the local work group during the runtime? clGetKernelWorkGroupInfo seems only return you the maximum possible size, see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetKernelWorkGroupInfo.html
CL_KERNEL_COMPILE_WORK_GROUP_SIZE of the above documents will give (0,0,0) if you haven't specified the size.