[Bf-blender-cvs] [3186551] cycles_split_kernel: Cycles: Add comment to explain disabled code
Mai Lavelle
noreply at git.blender.org
Sun Nov 20 20:10:43 CET 2016
Commit: 31865518bbbb94d260b7da3740f4c3033b889799
Author: Mai Lavelle
Date: Sun Nov 20 13:05:55 2016 -0500
Branches: cycles_split_kernel
https://developer.blender.org/rB31865518bbbb94d260b7da3740f4c3033b889799
Cycles: Add comment to explain disabled code
===================================================================
M intern/cycles/blender/blender_sync.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index 23de6f8..57b55c5 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -629,6 +629,12 @@ SessionParams BlenderSync::get_session_params(BL::RenderEngine& b_engine,
}
/* tiles */
+ /* TODO(mai): Currently the debug_tile_size is really large and without
+ * automatic tile splitting running out of memory with the split kernel
+ * is very likely, so for now we just use the user supplied tile size.
+ *
+ * This can be reenabled after we find a solution to the memory issues.
+ */
#if 0
if(params.device.type != DEVICE_CPU && !background) {
/* currently GPU could be much slower than CPU when using tiles,
More information about the Bf-blender-cvs
mailing list