Blender Git Commit Log
Git Commits -> Revision 7b356a8
Revision 7b356a8 by Sergey Sharybin (master) May 18, 2016, 08:14 (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: 7b356a856540a1affa5dc85360183418e6337a5a
Parent Commit: 2433a53
Lines Changed: +83, -21