Blender Git Commit Log

Git Commits -> Revision b9ed30c

Revision b9ed30c by Jeroen Bakker (master)
August 30, 2019, 11:53 (GMT)
Cycles: OpenCL Separate Compilation Debug Flag

OpenCL Parallel compilation only works inside Blender. When using cycles in a different setup (standaline or other software) it failed compiling kernels as they don't have the appropriate Python API and command line arguments.

This change introduces a `running_inside_blender` debug flag, that triggers out of process compilation of the kernels. Compilation still happens in subthread that enabled the preview kernels and compilation of the kernels during BVH building

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5439

Commit Details:

Full Hash: b9ed30c25c703c479dddab1ad6fec2adba558335
Parent Commit: 040d075
Lines Changed: +13, -8

6 Modified Paths:

/intern/cycles/blender/blender_python.cpp (+2, -0) (Diff)
/intern/cycles/blender/CMakeLists.txt (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_util.cpp (+6, -5) (Diff)
/intern/cycles/util/util_debug.cpp (+1, -1) (Diff)
/intern/cycles/util/util_debug.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021