blender/intern/cycles/bvh
Sergey Sharybin bbcb9c68c9 Cycles: Resolve ridiculous amount of memory used by spatial split builder
This was only visible on systems with lots of threads and root of the issue
was that we've been pre-allocating too much memory for all the threads.

Now we only pre-allocate data for the main thread and rest of the threads
does allocation on-demand.

This brings down memory usage from 36Gig to 6.9Gig when building spatial
split for the Bunny.blend file on our Intel beast.

Originally regression was happened by the threaded spacial split builder
commit.
2016-04-13 14:25:21 +02:00
..
bvh_binning.cpp Cycles: Avoid copying objects in some places of BVH build 2015-08-30 16:48:16 +02:00
bvh_binning.h Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
bvh_build.cpp Cycles: Resolve ridiculous amount of memory used by spatial split builder 2016-04-13 14:25:21 +02:00
bvh_build.h Cycles: Make spatial split BVH multi-threaded 2016-04-04 14:43:21 +02:00
bvh_node.cpp Cycles: Use proper node counter to allocate QBVH nodes 2014-12-25 02:50:49 +05:00
bvh_node.h Cleanup: style & const's 2015-05-05 05:19:49 +10:00
bvh_params.h Cycles: Temporarily revert index sort commit for spatial split 2016-04-01 17:45:59 +02:00
bvh_sort.cpp Cycles: Temporarily revert index sort commit for spatial split 2016-04-01 17:45:59 +02:00
bvh_sort.h Cycles: Temporarily revert index sort commit for spatial split 2016-04-01 17:45:59 +02:00
bvh_split.cpp Cycles: Resolve ridiculous amount of memory used by spatial split builder 2016-04-13 14:25:21 +02:00
bvh_split.h Cycles: Avoid possibly uninitialized variable 2016-04-06 10:51:04 +02:00
bvh.cpp Cycles: Remove unused SAH from BVH pack 2016-04-11 17:18:14 +02:00
bvh.h Cycles: Remove unused SAH from BVH pack 2016-04-11 17:18:14 +02:00
CMakeLists.txt code cleanup: 2012-10-17 04:13:03 +00:00