Is CL_KERNEL_WORK_GROUP_SIZE value hardware dependent?

Hi,

Please let me know if the CL_KERNEL_WORK_GROUP_SIZE value, that we get from clGetDeviceInfo, is the maximum number of processing elements present on a computing device? What is the relation between number of processing elements present on a computing device and the work group size?

Thanks,
Ravi

Yes it is. I usually hate thread redirects, but this thread goes into depth regarding your question almost exactly:
viewtopic.php?f=37&t=2991

I believe it comes down to cores and available registers to determine this value.

This is what I was looking for… Thank you very much AlexAtOSU!!