0 Replies Latest reply on Sep 8, 2013 3:55 PM by mighttower

    Maximum workgroup size

    mighttower

      Hello,

      when I try to use a Workgroup size greater 10 in compute shader, this compute shader can not be linked.
      as an example

      layout(local_size_x=11,local_size_y=11,local_size_z=11)in;

      does not work

      layout(local_size_x=10,local_size_y=10,local_size_z=10)in;

      works fine.

      The Maximum workgroup size is 1024 for  x,y,z each.
      Does that mean I can not use more than 1024 with all 3 dimensions?
      Would make sense then because 10*10*10=1000 and 11*11*11=1331.

      But the spec (http://www.opengl.org/registry/specs/ARB/compute_variable_group_size.txt) says:

      "The maximum size of a local work group may be determined by calling   GetIntegeri_v with <index> set to 0, 1, or 2 to retrieve the maximum work  size in the X, Y and Z dimension, respectively."

       

      So is this a bug or is it right that i can only use workgrous sizes with x*y*z<1024?

       

      I am using Beta 13.10 Driver with  a HD7800 on Windows7 64 bit.

      Thank you
      Marc