summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2015-05-28 12:40:29 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-06-29 13:24:22 +0200
commit249a9df7fce0a6bebc70852ab583c5324208bf06 (patch)
tree72b6edf61e8f014007701c0a2b620890988e7665 /src/gallium/docs
parentc0ca6c30eaf7f488f154c462a01a8945cb4a3103 (diff)
downloadexternal_mesa3d-249a9df7fce0a6bebc70852ab583c5324208bf06.zip
external_mesa3d-249a9df7fce0a6bebc70852ab583c5324208bf06.tar.gz
external_mesa3d-249a9df7fce0a6bebc70852ab583c5324208bf06.tar.bz2
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>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 8f64817..7463620 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -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: