Page MenuHome

Cycles/OpenCL: Build All Kernels Operation
Needs ReviewPublic

Authored by Jeroen Bakker (jbakker) on Mar 15 2019, 3:18 PM.
This revision needs review, but there are no reviewers specified.



This patch introduces a Compile Kernels operation. Invoking
this operation will compile all viewport kernels of cycles.

It was used to check the validity of such an operation but came
to the next issues:

  • Worst case the process took 1h.30m (serial compilation)
  • At some point (on my system at around kernel 100) no new processes could be started (system() fails). Restarting the operation will compile some kernels more but will lead to this issue much faster. Only after restarting blender I was able to compile kernels again.
  • Ideally the compilation of all kernels took 30m. Even this time is too much to make this operation really useful.
  • Needed a lot of memory.

Please note that this is a prototype and not intended to be used in its current form.

Diff Detail

rB Blender
local-opencl-prebuild (branched from blender2.7)
Build Status
Buildable 3129
Build 3129: arc lint + arc unit