diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-04-12 20:17:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-12 20:18:58 +0300 |
commit | 2d472b70e5ae22ece199003f51742a72f485fd87 (patch) | |
tree | 7c1d07d1d9a3991c689c39a06d2bc7e19fd9bcde /intern/cycles/device/hip | |
parent | a0957ceab2635676b057b69d0a241fe895005466 (diff) |
Revert "Cycles: enable HIP for Vega and Vega II (Radeon 7) GPUs on Windows"
This is not currently working, reverting until the driver/compiler has a fix.
This reverts commit c46e58817cd72d1481967d32e3c6f47f42933d39.
Diffstat (limited to 'intern/cycles/device/hip')
-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 4e4906171d1..adb68a2d44c 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 >= 9); + return (major > 10) || (major == 10 && minor >= 1); } CCL_NAMESPACE_END |