[Bf-blender-cvs] [7d9412f] cycles_kernel_split: Print additional info incase we need to split tile further
varunsundar08
noreply at git.blender.org
Wed Apr 15 17:37:18 CEST 2015
Commit: 7d9412f0d4a8c8bd0cc6daecc3aba65e4fcbbc53
Author: varunsundar08
Date: Wed Apr 15 19:18:26 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rB7d9412f0d4a8c8bd0cc6daecc3aba65e4fcbbc53
Print additional info incase we need to split tile 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 cfb54b1..f901fb0 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -3406,7 +3406,9 @@ public:
/* 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)");
+ int2 render_feasible_tile_size = get_render_feasible_tile_size(feasible_global_work_size);
+ fprintf(stderr, "Message : Tiles need to be split further inside path trace (due to in-sufficient device-global-memory for split kernel to function) \n\
+The user set tile size %dx%d will be split into tiles of dimension %dx%d to render \n", tile.tile_size.x, tile.tile_size.y, render_feasible_tile_size.x, render_feasible_tile_size.y);
}
initialize_data_and_check_render_feasibility = true;
More information about the Bf-blender-cvs
mailing list