[Mesa-dev] [PATCH 1/3] gallium: Add PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS
Francisco Jerez
currojerez at riseup.net
Tue Jun 10 13:51:40 PDT 2014
Tom Stellard <tom at stellard.net> writes:
> On Fri, May 30, 2014 at 05:31:10PM +0200, Bruno Jiménez wrote:
>> ---
>> src/gallium/docs/source/screen.rst | 2 ++
>> src/gallium/include/pipe/p_defines.h | 3 ++-
>> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
>>
>> diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
>> index b292257..dde2c38 100644
>> --- a/src/gallium/docs/source/screen.rst
>> +++ b/src/gallium/docs/source/screen.rst
>> @@ -317,6 +317,8 @@ pipe_screen::get_compute_param.
>> allocation in bytes. Value type: ``uint64_t``.
>> * ``PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY``: Maximum frequency of the GPU
>> clock in MHz. Value type: ``uint32_t``
>> +* ``PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS``: Maximum number of compute units
>> + Value type: ``uint32_t``
>>
>> .. _pipe_bind:
>>
>> diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
>> index 4024470..5572bb6 100644
>> --- a/src/gallium/include/pipe/p_defines.h
>> +++ b/src/gallium/include/pipe/p_defines.h
>> @@ -644,7 +644,8 @@ enum pipe_compute_cap
>> PIPE_COMPUTE_CAP_MAX_PRIVATE_SIZE,
>> PIPE_COMPUTE_CAP_MAX_INPUT_SIZE,
>> PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE,
>> - PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY
>> + PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY,
>> + PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS
>> };
>>
>> /**
>> --
>> 1.9.3
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140610/d13e8a25/attachment.sig>
More information about the mesa-dev
mailing list