questions about attribute groupsize

Discussion created by xmuben on Jun 17, 2009
Latest reply on Jun 17, 2009 by gaurav.garg

Attribute[groupsize(x,y,z)] in Stream_Computing_User_Guide.pdf. 

Attribute[groupsize(256,1,1,1)]:   why is it valid? Does it mean that there are 256 threads in this group? or there are 256 groups and 1*1*1 thread in each group?

Attribute[groupsize(64,2,1,1)]:    why is it  invalid?

And why do the both have four parameters?

If I want to define N groups and M threads in each group, How do I define it?