cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sajis997
Adept I

execute kernel in one work-group

Hi forum,

I just want to execute the kernel in one work-group that deal with 2D data. I have the defined the local work size as follows:

size_t localSize[2] = {64,64};

I am confused what to define for the global work-size here.

How to make sure that i have only one 2D work-group executed ?

Thanks

0 Likes
1 Reply
nou
Exemplar

64*64 it too big local size for AMD GPU as it can handle only 256 workitems but this is 4096. to run only single workgroup just specify global size same as your local size.

0 Likes