Goal is to reduce OpenCL kernel recompilations.
Currently viewport renders are still set to use 64 closures as this seems to be faster and we don't want to cause a performance regression there. Needs to be investigated.
Differential D2775
Cycles: Replace __MAX_CLOSURE__ build option with runtime integrator variable Authored by Mai Lavelle (maiself) on Aug 7 2017, 1:39 PM. Tags None Subscribers None
Details
Goal is to reduce OpenCL kernel recompilations. Currently viewport renders are still set to use 64 closures as this seems to be faster and we don't want to cause a performance regression there. Needs to be investigated.
Diff Detail Event TimelineComment Actions Seems generally fine. But it's quite odd that only the viewport would have its performance affected? Are we sure the regular render isn't affected as well?
Comment Actions Final render is actually a few percent faster with this, I don't have an explanation. Comment Actions Looks good to me then. Also suggesting a small optimization that wasn't possible before.
| ||||||||||||||||