Mesa (master): anv: Bump maxComputeWorkgroupInvocations

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 20 14:27:18 UTC 2019


Module: Mesa
Branch: master
Commit: 9a129510f56f792cc8c2745999b6815b8f8b6ddb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a129510f56f792cc8c2745999b6815b8f8b6ddb

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar 19 10:47:34 2019 -0500

anv: Bump maxComputeWorkgroupInvocations

We initially set this lower because we didn't have SIMD32 support yet
but we've supported SIMD32 for quite some time now.  We should bump it
up to the real limit.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index a6ecc657f4b..7ba2e802c25 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1132,7 +1132,7 @@ void anv_GetPhysicalDeviceProperties(
       .maxFragmentCombinedOutputResources       = 8,
       .maxComputeSharedMemorySize               = 32768,
       .maxComputeWorkGroupCount                 = { 65535, 65535, 65535 },
-      .maxComputeWorkGroupInvocations           = 16 * devinfo->max_cs_threads,
+      .maxComputeWorkGroupInvocations           = 32 * devinfo->max_cs_threads,
       .maxComputeWorkGroupSize = {
          16 * devinfo->max_cs_threads,
          16 * devinfo->max_cs_threads,




More information about the mesa-commit mailing list