diff options
author | Sayak Biswas <sayakAMD> | 2022-06-28 17:55:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-06-28 19:35:43 +0300 |
commit | abfa09752f5c4d1fa2ae9df5e4ee0c9d77b50f3e (patch) | |
tree | b39fb23925e1c0dd819839cbffec09fbfb600ce3 /intern/cycles/device | |
parent | 270ed1c7164c2da47b27e4403bf44554a80ed71c (diff) |
Cycles: enable Vega GPU/APU support
Enables Vega and Vega II GPUs as well as Vega APU, using changes in HIP code
to support 64-bit waves and a new HIP SDK version.
Tested with Radeon WX9100, Radeon VII GPUs and Ryzen 7 PRO 5850U with Radeon
Graphics APU.
Ref T96740, T91571
Differential Revision: https://developer.blender.org/D15242
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/hip/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/hip/util.h b/intern/cycles/device/hip/util.h index adb68a2d44c..4e4906171d1 100644 --- a/intern/cycles/device/hip/util.h +++ b/intern/cycles/device/hip/util.h @@ -51,7 +51,7 @@ static inline bool hipSupportsDevice(const int hipDevId) hipDeviceGetAttribute(&major, hipDeviceAttributeComputeCapabilityMajor, hipDevId); hipDeviceGetAttribute(&minor, hipDeviceAttributeComputeCapabilityMinor, hipDevId); - return (major > 10) || (major == 10 && minor >= 1); + return (major >= 9); } CCL_NAMESPACE_END |