clover: Query maximum kernel block size from the device instead of the kernel object.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 24 Oct 2013 19:09:55 +0000 (12:09 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 24 Oct 2013 20:33:41 +0000 (13:33 -0700)
commit7463abd37d65abd4d87abe314e0629c853dd9bca
tree213cc10169f3819ea8b4488e8d165383da68a5c9
parentb8d7a97fade140b8fb7c464afc24b210f1fe4ff7
clover: Query maximum kernel block size from the device instead of the 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.
src/gallium/state_trackers/clover/api/kernel.cpp
src/gallium/state_trackers/clover/core/kernel.cpp
src/gallium/state_trackers/clover/core/kernel.hpp
src/gallium/state_trackers/clover/util/algorithm.hpp