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

Tom Stellard tom at stellard.net
Thu Jun 12 16:16:51 PDT 2014


On Fri, May 30, 2014 at 05:31:09PM +0200, Bruno Jiménez wrote:
> 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.
> 

Hi,

I've pushed patches 1 and 3.  Did you ever send and updated version of
patch 2?

-Tom

> 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
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list