ac/gpu_info: init num_cu_per_sh from the kernel
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 13 Sep 2023 12:32:58 +0000 (14:32 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 14 Sep 2023 14:17:18 +0000 (14:17 +0000)
commit10dc97b20ff6b6987d016edaf0e78395a18cd04e
tree548b065cbcea13ce1c249a58d9f67bbffec14ace
parent95527162081bd969582a7849010dff7624a45aab
ac/gpu_info: init num_cu_per_sh from the kernel

This will be used to configure the number of instances of TCP.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25211>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h