clover: implements clGetKernelWorkGroupInfo CL_KERNEL_COMPILE_WORK_GROUP_SIZE

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4974>
This commit is contained in:
Serge Martin
2020-09-27 15:45:33 +02:00
committed by Marge Bot
parent aadd134081
commit c04d5e7efa
6 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ kernel::optimal_block_size(const command_queue &q,
std::vector<size_t>
kernel::required_block_size() const {
return { 0, 0, 0 };
return find(name_equals(_name), program().symbols()).reqd_work_group_size;
}
kernel::argument_range