Cycles: Report build flags used for the OpenCL kernel compilation
For now it's reported to the stdout, matching to the CUDA behavior. In the future we can hide this into GLog logging once the kernels are considered all stable and so.
This commit is contained in:
parent
14251e8b45
commit
36ef6d1532
|
@ -676,6 +676,10 @@ public:
|
|||
|
||||
double starttime = time_dt();
|
||||
printf("Compiling OpenCL kernel ...\n");
|
||||
/* TODO(sergey): Report which kernel is being compiled
|
||||
* as well (megakernel or which of split kernels etc..).
|
||||
*/
|
||||
printf("Build flags: %s\n", custom_kernel_build_options.c_str());
|
||||
|
||||
if(!build_kernel(kernel_program, custom_kernel_build_options, debug_src))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue