I'm just beginning to learn about OpenCL. My apology if this is a dumb question.
Can someone kindly explain to me why is there the need to have two ways of specifying work group size? I understand that the local_work_size can be specified dynamically in runtime while reqd_work_group_size is static in compile time, but why not just use the local_work_size? What's the possible benefit of using reqd_work_group_size attribute?
Thanks in advance.