Page MenuHome

T62266: Reduce recompilation times
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Mar 8 2019, 3:54 PM.

Details

Summary

This patch will reduce the number of times that we need to
recompile the kernels. It does this by enabling selected features
by default. So when the user needs them that the kernels are
already available.

Other features are enabled by default for background and foreground
rendering. When in background rendering the user wants the best
render performance. When in foreground rendering the user wants
the least amount of recompilations.

Enabling volumetrics or subdivision evaluation will still trigger
a recompilation during foreground rendering.

See attachment for detailed information about the kernel
recompilations

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) planned changes to this revision.Mar 12 2019, 9:24 AM
  • research how many kernel (variations) we currently have before and after this patch
  • change the features for baking to have less variations.
  • Code cleanup
  • D4485: Reduction of foreground kernels recompilation
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Mar 12 2019, 1:38 PM

Looks good to me.

The title of this revision is a bit misleading, would instead use Cycles/OpenCL: reduce how often kernel recompilations are needed.

Also please check the commit log guidelines again, do not start with a task number but with category like Cycles/OpenCL.
https://wiki.blender.org/wiki/Style_Guide/Commit_Messages

This revision is now accepted and ready to land.Mar 12 2019, 1:49 PM
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)
  • D4485: Disable branchedpath for bake kernels
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Mar 12 2019, 2:02 PM
This revision was automatically updated to reflect the committed changes.