[Bf-blender-cvs] [e507a789b35] blender-v3.0-release: Cycles: disable graphics interop for HIP devices
Thomas Dinges
noreply at git.blender.org
Wed Nov 10 20:22:00 CET 2021
Commit: e507a789b355a7f96ff01a83707d1a5cc306b0c5
Author: Thomas Dinges
Date: Wed Nov 10 20:15:31 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rBe507a789b355a7f96ff01a83707d1a5cc306b0c5
Cycles: disable graphics interop for HIP devices
This is due to a driver bug, so disable it for now until it gets resolved
in a future driver release.
Ref T92972
Differential Revision: https://developer.blender.org/D13167
===================================================================
M intern/cycles/device/hip/device_impl.cpp
===================================================================
diff --git a/intern/cycles/device/hip/device_impl.cpp b/intern/cycles/device/hip/device_impl.cpp
index e8482772186..bb0573abf8d 100644
--- a/intern/cycles/device/hip/device_impl.cpp
+++ b/intern/cycles/device/hip/device_impl.cpp
@@ -1160,6 +1160,8 @@ bool HIPDevice::should_use_graphics_interop()
* possible, but from the empiric measurements it can be considerably slower than using naive
* pixels copy. */
+ /* Disable graphics interop for now, because of driver bug in 21.40. See T92972 */
+# if 0
HIPContextScope scope(this);
int num_all_devices = 0;
@@ -1178,6 +1180,7 @@ bool HIPDevice::should_use_graphics_interop()
return true;
}
}
+# endif
return false;
}
More information about the Bf-blender-cvs
mailing list