Cycles: Add artificial memory limit debug option for OpenCL

This commit is contained in:
Mai Lavelle
2017-07-05 20:16:41 -04:00
parent 95b345b2fe
commit 9c3f1ad003
7 changed files with 22 additions and 2 deletions

View File

@@ -184,8 +184,8 @@ std::ostream& operator <<(std::ostream &os,
<< " Device type : " << opencl_device_type << "\n"
<< " Kernel type : " << opencl_kernel_type << "\n"
<< " Debug : " << string_from_bool(debug_flags.opencl.debug) << "\n"
<< " Single program : " << string_from_bool(debug_flags.opencl.single_program)
<< "\n";
<< " Single program : " << string_from_bool(debug_flags.opencl.single_program) << "\n"
<< " Memory limit : " << string_human_readable_size(debug_flags.opencl.mem_limit) << "\n";
return os;
}