From a6df3ef6ecb3ba142b8b78beab7a7757194befad Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 20 Feb 2020 09:24:38 +0100 Subject: [PATCH] radv/gfx10: adjust the number of simd per compute unit Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- 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 || -- 2.30.2