gallium: change PIPE_COMPUTE_CAP_SUBGROUP_SIZE to a bitfield of sizes
authorKarol Herbst <git@karolherbst.de>
Sun, 7 May 2023 01:16:31 +0000 (03:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Jul 2023 12:27:35 +0000 (12:27 +0000)
commita8df5cfa3a66a647b5fe78ae962ec060003dc799
tree034a2310ff7d21a7d38ac10f085c0274a8904e17
parent13df23bd67edf388d856328de4afd2e8c5f5c5b3
gallium: change PIPE_COMPUTE_CAP_SUBGROUP_SIZE to a bitfield of sizes

This will be required for `cl_intel_required_subgroup_size`, but it
already helps implementing OpenCL subgroups as this allows us to check
with every subgroup size when implementing
`CL_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT`.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893>
17 files changed:
docs/gallium/screen.rst
src/gallium/drivers/asahi/agx_pipe.c
src/gallium/drivers/crocus/crocus_screen.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/panfrost/pan_screen.c
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/v3d/v3d_screen.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/frontends/clover/core/device.cpp
src/gallium/frontends/rusticl/core/device.rs
src/gallium/include/pipe/p_defines.h