Blender Git Loki
Git Commits -> Revision d22c061
Revision d22c061 by Sergey Sharybin (compositor-2016) June 8, 2016, 19:45 (GMT) |
Cycles: Reduce amount of malloc() calls from the kernel This commit makes it so malloc() is only happening once per volume and once per transparent shadow query (per thread), improving scalability of the code to multiple CPU cores. Hard to measure this with a low-bottom i7 here currently, but from quick tests seems volume sampling gave about 3-5% speedup. The idea is to store allocated memory in kernel globals, which are per thread on CPU already. Reviewers: dingto, juicyfruit, lukasstockner97, maiself, brecht Reviewed By: brecht Subscribers: Blendify, nutel Differential Revision: https://developer.blender.org/D1996 |
Commit Details:
Full Hash: d22c061d15f6bb64ef8ce5138467869227bb4dc5
Parent Commit: 440aed9
Committed By: Jeroen Bakker
Lines Changed: +83, -21