gallium: add PIPE_COMPUTE_CAP_MAX_VARIABLE_THREADS_PER_BLOCK
v3: - use a new case statement in r600_pipe_common.c - fix compilation of softpipe... Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -498,6 +498,10 @@ pipe_screen::get_compute_param.
|
||||
threads. Also known as wavefront size, warp size or SIMD width.
|
||||
* ``PIPE_COMPUTE_CAP_ADDRESS_BITS``: The default compute device address space
|
||||
size specified as an unsigned integer value in bits.
|
||||
* ``PIPE_COMPUTE_CAP_MAX_VARIABLE_THREADS_PER_BLOCK``: Maximum variable number
|
||||
of threads that a single block can contain. This is similar to
|
||||
PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK, except that the variable size is not
|
||||
known a compile-time but at dispatch-time.
|
||||
|
||||
.. _pipe_bind:
|
||||
|
||||
|
Reference in New Issue
Block a user