diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-04 15:43:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-04 15:43:21 +0300 |
commit | bf55afbf266c681df6193f938e8651d647bf39ac (patch) | |
tree | f3e2f3c50d6d374c2c2b3e0756e10ee49aaa193c /tests | |
parent | be2186ad629a6dc7057627e56b404db212de2deb (diff) |
Cycles: Make spatial split BVH multi-threaded
The title actually covers it all, This commit exploits all the work
being done in previous changes to make it possible to build spatial
splits in threads.
Works quite nicely, but has a downside of some extra memory usage.
In practice it doesn't seem to be a huge problem and that we can
always look into later if it becomes a real showstopper.
In practice it shows some nice speedup:
- BMW27 scene takes 3 now (used to be 4)
- Agent shot takes 5 sec (used to be 80)
Such non-linear speedup is most likely coming from much less amount
of heap re-allocations. A a downside, there's a bit of extra memory
used by BVH arrays. From the tests amount of extra memory is below
0.001% so far, so it's not that bad at all.
Reviewers: brecht, juicyfruit, dingto, lukasstockner97
Differential Revision: https://developer.blender.org/D1820
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions