gallium: remove pipe_compute_caps::max_private_size

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:
Karol Herbst 2025-04-20 17:18:37 +02:00
parent 44051e6fbd
commit 76d82f9b2a
10 changed files with 1 additions and 13 deletions

View file

@ -765,8 +765,6 @@ pipe_screen::get_compute_param.
resource.
* ``pipe_compute_caps.max_local_size``: Maximum size of the LOCAL
resource.
* ``pipe_compute_caps.max_private_size``: Maximum size of the PRIVATE
resource.
* ``pipe_compute_caps.max_input_size``: Maximum size of the INPUT
resource.
* ``pipe_compute_caps.max_mem_alloc_size``: Maximum size of a memory object

View file

@ -1945,7 +1945,7 @@ agx_init_compute_caps(struct pipe_screen *pscreen)
caps->max_local_size = 32768;
caps->max_private_size = caps->max_input_size = 4096;
caps->max_input_size = 4096;
caps->max_clock_frequency = dev->params.max_frequency_khz / 1000;

View file

@ -335,7 +335,6 @@ fd_init_compute_caps(struct fd_screen *screen)
caps->max_local_size = screen->info->cs_shared_mem_size;
caps->max_private_size =
caps->max_input_size = 4096;
caps->max_mem_alloc_size = screen->ram_size;

View file

@ -280,9 +280,6 @@ iris_init_compute_caps(struct iris_screen *screen)
caps->max_compute_units = intel_device_info_subslice_total(devinfo);
/* MaxComputeSharedMemorySize */
caps->max_private_size = 64 * 1024;
/* We could probably allow more; this is the OpenCL minimum */
caps->max_input_size = 1024;
}

View file

@ -180,7 +180,6 @@ llvmpipe_init_compute_caps(struct pipe_screen *screen)
caps->grid_dimension = 3;
caps->max_global_size = 1 << 31;
caps->max_mem_alloc_size = 1 << 31;
caps->max_private_size = 1 << 31;
caps->max_input_size = 1576;
caps->subgroup_sizes = lp_native_vector_width / 32;
caps->max_subgroups = 1024 / (lp_native_vector_width / 32);

View file

@ -158,7 +158,6 @@ nv50_init_compute_caps(struct nv50_screen *screen)
caps->max_mem_alloc_size =
caps->max_global_size = nouveau_device_get_global_mem_size(dev); /* g0-15[] */
caps->max_local_size = 16 << 10; /* s[] */
caps->max_private_size = 16 << 10; /* l[] */
caps->max_input_size = 4096; /* c[], arbitrary limit */
caps->subgroup_sizes = 32;
caps->max_compute_units = screen->mp_count;

View file

@ -176,7 +176,6 @@ nvc0_init_compute_caps(struct nvc0_screen *screen)
obj_class == GM200_COMPUTE_CLASS ? 96 << 10 :
(obj_class == GM107_COMPUTE_CLASS ? 64 << 10 : 48 << 10);
caps->max_private_size = 512 << 10; /* l[] */
caps->max_input_size = 4096; /* c[], arbitrary limit */
caps->subgroup_sizes = 32;
caps->max_compute_units = screen->mp_count_compute;

View file

@ -455,7 +455,6 @@ panfrost_init_compute_caps(struct panfrost_screen *screen)
caps->max_mem_alloc_size = MIN2(available_ram, user_va_end - user_va_start);
caps->max_local_size = 32768;
caps->max_private_size =
caps->max_input_size = 4096;
caps->max_clock_frequency = 800; /* MHz -- TODO */
caps->max_compute_units = dev->core_count;

View file

@ -218,7 +218,6 @@ v3d_init_compute_caps(struct v3d_screen *screen)
/* GL_MAX_COMPUTE_SHARED_MEMORY_SIZE */
caps->max_local_size = 32768;
caps->max_private_size =
caps->max_input_size = 4096;
struct sysinfo si;

View file

@ -797,7 +797,6 @@ struct pipe_compute_caps {
unsigned max_block_size[3];
unsigned max_threads_per_block;
unsigned max_local_size;
unsigned max_private_size;
unsigned max_input_size;
unsigned max_clock_frequency;
unsigned max_compute_units;