[Mesa-dev] [PATCH] clover: Calculate the optimal work group size when local_size is NULL
Niels Ole Salscheider
niels_ole at salscheider-online.de
Wed Oct 30 01:06:27 CET 2013
this has been on my todo list for quite a while.
Your patch looks good to me, but in my experience a block with approximately
the same size for each dimension gives slightly better performance in many
cases when compared to one where one dimension is significantly larger.
Maybe you could initialise the size for each dimension to 1 and multiply them
by 2 in a round-robin fashion as long as feasible.
More information about the mesa-dev