diff options
author | Samuel Pitoiset <[email protected]> | 2020-02-20 09:24:38 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-26 07:58:47 +0000 |
commit | a6df3ef6ecb3ba142b8b78beab7a7757194befad (patch) | |
tree | 36ea21df11426291843044173baf8fb6a3268e08 /src | |
parent | 09d8726187f3f64ee41ae10345b77d4edf4130c9 (diff) |
radv/gfx10: adjust the number of simd per compute unit
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3899>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 || |