asahi: bump max threads per wg

gl4.3 min.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
Alyssa Rosenzweig 2023-12-04 12:39:52 -04:00 committed by Marge Bot
parent 8a2c1d337e
commit 5361b1f331
2 changed files with 2 additions and 7 deletions

View file

@ -1949,10 +1949,10 @@ agx_get_compute_param(struct pipe_screen *pscreen, enum pipe_shader_ir ir_type,
RET(((uint64_t[]){65535, 65535, 65535}));
case PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE:
RET(((uint64_t[]){256, 256, 256}));
RET(((uint64_t[]){1024, 1024, 1024}));
case PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK:
RET((uint64_t[]){256});
RET((uint64_t[]){1024});
case PIPE_COMPUTE_CAP_MAX_GLOBAL_SIZE:
case PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE: {

View file

@ -2381,11 +2381,6 @@ agx_get_compute_state_info(struct pipe_context *pctx, void *cso,
info->private_memory = 0;
info->preferred_simd_size = 32;
info->simd_sizes = 32;
/* HACK: Clamp max_threads to what we advertise. When we fix the CAP
* situation around block sizes, we can drop this.
*/
info->max_threads = MIN2(info->max_threads, 256);
}
/* Does not take ownership of key. Clones if necessary. */