cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Peterp
Journeyman III

Workgroup size for 2048 x 1365 and general workgroup size question

Hi,

I have a global domain of  2048x1365, what workgroup size should I choose? Is it possible to choose some different size then (1,1)?

And I have a general question about the workgroup size. How does it affect the runtime of my algorithm? The bigger workgroup size the faster my algorithm?

 

Best Regards

Peter

0 Likes
1 Reply
pcmaster
Journeyman III

Chose 8x8 or 16x8 for example, or as much as it allows, round your global work size to multiples of these, add the original domain size as a kernel parameter and place a condition to the beginning of your kernel that terminates the kernel if it runs out of the border. Only few blocks will have disjoint paths so the loss will be nearly nothing (surely less than with 1x1 )

0 Likes