Commit: c8dccc0a65a8ff4f7f23f6430e509b6cd873e119
Author: varunsundar08
Date:   Sun Apr 12 03:28:41 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rBc8dccc0a65a8ff4f7f23f6430e509b6cd873e119

Print message to console incase we need to split tiles further

===================================================================

M       intern/cycles/device/device_opencl.cpp

===================================================================

diff --git a/intern/cycles/device/device_opencl.cpp 
b/intern/cycles/device/device_opencl.cpp
index 02f156e..d9bfdd2 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -3638,6 +3638,11 @@ public:
                                        feasible_global_work_size = 
get_feasible_global_work_size(tile, 
CL_MEM_PTR(const_mem_map["__data"]->device_pointer));
                                        need_to_split_tiles_further = 
need_to_split_tile(tile.tile_size.x, tile.tile_size.y, 
feasible_global_work_size);
 
+                                       /* Print message to console */
+                                       if (need_to_split_tiles_further && 
background) {
+                                               fprintf(stderr, "Message : 
Tiles need to be split further inside path trace (due to in-sufficient 
device-global-memory for split kernel to function)");
+                                       }
+
                                        
initialize_data_and_check_render_feasibility = true;
                                }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to