Mesa (master): radv/gfx10: adjust the number of simd per compute unit
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 26 08:20:16 UTC 2020
Module: Mesa
Branch: master
Commit: a6df3ef6ecb3ba142b8b78beab7a7757194befad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6df3ef6ecb3ba142b8b78beab7a7757194befad
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Thu Feb 20 09:24:38 2020 +0100
radv/gfx10: adjust the number of simd per compute unit
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3899>
---
src/amd/vulkan/radv_device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index be84c2793a0..1a2bf67a352 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1656,7 +1656,8 @@ void radv_GetPhysicalDeviceProperties2(
pdevice->rad_info.max_sh_per_se;
properties->computeUnitsPerShaderArray =
pdevice->rad_info.num_good_cu_per_sh;
- properties->simdPerComputeUnit = 4;
+ properties->simdPerComputeUnit =
+ pdevice->rad_info.num_simd_per_compute_unit;
properties->wavefrontsPerSimd =
pdevice->rad_info.family == CHIP_TONGA ||
pdevice->rad_info.family == CHIP_ICELAND ||
More information about the mesa-commit
mailing list