summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/clover/util
Commit message (Collapse)AuthorAgeFilesLines
* clover: Fix the const variant of adaptor_range::end to deal with mismatching ↵Francisco Jerez2013-11-151-1/+2
| | | | | | | | | | | | range sizes. Fixes infinite loop in find_grid_optimal_factor() in cases where the user specifies a grid size with less dimensions than the device supports. Reported-by: Tom Stellard <[email protected]> Cc: "10.0" <[email protected]> (cherry picked from commit 99d447cc5dafa3a36b970068961989cced62e3b6)
* clover: Calculate optimal work group size when it's not specified by the user.Francisco Jerez2013-11-041-0/+131
| | | | | | | | Inspired by a patch sent to the mailing list by Tom Stellard, but using a different algorithm to calculate the optimal block size that has been found to be considerably more effective. Reviewed-by: Tom Stellard <[email protected]>
* clover: Workaround compiler bug present in GCC 4.7.0-4.7.2.Francisco Jerez2013-11-041-16/+13
| | | | | Variadic template aliases make these versions of GCC very confused, write down the full type spec instead.
* clover: Query maximum kernel block size from the device instead of the ↵Francisco Jerez2013-10-241-0/+12
| | | | | | | | kernel object. Based on a similar fix from Aaron Watry. It seems unlikely that we will ever need a kernel-specific setting for this, and the Gallium API doesn't support it. Remove kernel::max_block_size() altogether.
* clover: Import new utility library.Francisco Jerez2013-10-2110-0/+2146
Tested-by: Tom Stellard <[email protected]>