[Mesa-dev] [PATCH 0/3] clover: Allow quering for the number of max compute units

Bruno Jiménez brunojimen at gmail.com
Fri May 30 08:31:09 PDT 2014


This series allows clover to answer the query for the number of
max compute units of the devices.

The data has been extracted from:
AMD Accelerated Parallel Processing OpenCL Programming Guide (rev 2.7)
Appendix D: Device Parameters

For the rest of the devices I haven't found data.

Patch 2 is very big, and has a lot of comments about the data found in
said reference. For some of the chips, more than one number was listed
depending on the exact card, and I have chosen to return the lower one.

Thanks!
Bruno

Bruno Jiménez (3):
  gallium: Add PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS
  radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS
  clover: query driver for the max number of compute units

 src/gallium/docs/source/screen.rst                |  2 +
 src/gallium/drivers/radeon/r600_pipe_common.c     | 90 +++++++++++++++++++++++
 src/gallium/include/pipe/p_defines.h              |  3 +-
 src/gallium/state_trackers/clover/api/device.cpp  |  2 +-
 src/gallium/state_trackers/clover/core/device.cpp |  6 ++
 src/gallium/state_trackers/clover/core/device.hpp |  1 +
 6 files changed, 102 insertions(+), 2 deletions(-)

-- 
1.9.3



More information about the mesa-dev mailing list