gallium: add PIPE_COMPUTE_CAP_SUBGROUP_SIZE
We need this to implement OpenCL's CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
@@ -384,6 +384,8 @@ pipe_screen::get_compute_param.
|
||||
Value type: ``uint32_t``
|
||||
* ``PIPE_COMPUTE_CAP_IMAGES_SUPPORTED``: Whether images are supported
|
||||
non-zero means yes, zero means no. Value type: ``uint32_t``
|
||||
* ``PIPE_COMPUTE_CAP_SUBGROUP_SIZE``: The size of a basic execution unit in
|
||||
threads. Also known as wavefront size, warp size or SIMD width.
|
||||
|
||||
.. _pipe_bind:
|
||||
|
||||
|
Reference in New Issue
Block a user