gallium: remove pipe_compute_caps::max_threads_per_block_clover
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34623>
This commit is contained in:
@@ -765,8 +765,6 @@ pipe_screen::get_compute_param.
|
||||
This may be less than the product of the components of MAX_BLOCK_SIZE and is
|
||||
usually limited by the number of threads that can be resident simultaneously
|
||||
on a compute unit.
|
||||
* ``pipe_compute_caps.max_threads_per_block_clover``: Same as
|
||||
``pipe_compute_caps.max_threads_per_block`` but used by clover only.
|
||||
* ``pipe_compute_caps.max_global_size``: Maximum size of the GLOBAL
|
||||
resource.
|
||||
* ``pipe_compute_caps.max_local_size``: Maximum size of the LOCAL
|
||||
|
||||
@@ -308,7 +308,6 @@ static void r600_init_compute_caps(struct r600_screen *screen)
|
||||
caps->max_block_size[2] = rscreen->gfx_level >= EVERGREEN ? 1024 : 256;
|
||||
|
||||
caps->max_threads_per_block = rscreen->gfx_level >= EVERGREEN ? 1024 : 256;
|
||||
caps->max_threads_per_block_clover = 256;
|
||||
caps->address_bits = 32;
|
||||
caps->max_mem_alloc_size = (rscreen->info.max_heap_size_kb / 4) * 1024ull;
|
||||
|
||||
|
||||
@@ -796,7 +796,6 @@ struct pipe_compute_caps {
|
||||
unsigned max_grid_size[3];
|
||||
unsigned max_block_size[3];
|
||||
unsigned max_threads_per_block;
|
||||
unsigned max_threads_per_block_clover;
|
||||
unsigned max_local_size;
|
||||
unsigned max_private_size;
|
||||
unsigned max_input_size;
|
||||
|
||||
Reference in New Issue
Block a user