diff options
author | Brian Savery <bsavery> | 2022-03-24 03:07:49 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-24 03:12:45 +0300 |
commit | c46e58817cd72d1481967d32e3c6f47f42933d39 (patch) | |
tree | d894b6e679b4e2882ddc6780ae44dd227514e5e5 /intern/cycles/device | |
parent | ad976c0dd7c17961020b539d50dfaf9587781d28 (diff) |
Cycles: enable HIP for Vega and Vega II (Radeon 7) GPUs on Windows
Basic testing on windows only so far. Will need some testing on Linux as well
when the Linux enablement patch is ready.
Does not enable Vega APUs yet (which would be gfx902 or gfx90c).
Differential Revision: https://developer.blender.org/D14432
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 |