From: Samuel Pitoiset Date: Thu, 20 Feb 2020 08:24:38 +0000 (+0100) Subject: radv/gfx10: adjust the number of simd per compute unit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6df3ef6ecb3ba142b8b78beab7a7757194befad;p=mesa.git radv/gfx10: adjust the number of simd per compute unit Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- 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 ||