3 Replies Latest reply on Oct 23, 2009 3:33 PM by MicahVillmow

    local_work_size ptr vs reqd_work_group_size attr

    edward_yang
      why both ways of defining work group size?

      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.