[Mesa-dev] [PATCH 0/3] anv: program compute threads using sublices numbers

Lionel Landwerlin llandwerlin at gmail.com
Fri Sep 9 10:45:06 UTC 2016


Hi,

While trying to fix some new compute CTS tests (only failing on HSW), Ken
mentioned that we probably needed to pick of the changes made recently in
our GL driver to program the numbers of threads for compute workloads using
the number of subslices.

It didn't help fixing the particular issue I'm looking at, but here are the
patches.

Cheers,

Lionel Landwerlin (3):
  anv: device: calculate compute thread numbers using subslices numbers
  anv: allocator: correct scratch space for haswell
  anv: pipeline: use correct number of thread for compute

 src/intel/vulkan/anv_allocator.c | 35 +++++++++++++++++++++++++-------
 src/intel/vulkan/anv_device.c    | 43 ++++++++++++++++++++++++++++++++++++----
 src/intel/vulkan/anv_private.h   | 14 +++++++++++++
 src/intel/vulkan/gen7_pipeline.c | 10 ++++++----
 src/intel/vulkan/gen8_pipeline.c |  6 ++++--
 src/intel/vulkan/genX_pipeline.c |  7 ++++++-
 6 files changed, 97 insertions(+), 18 deletions(-)

--
2.9.3


More information about the mesa-dev mailing list