Blender Git Commit Log

Git Commits -> Revision e6ca054

Revision e6ca054 by Jacques Lucke (master)
September 15, 2021, 09:02 (GMT)
Geometry Nodes: multi threaded field evaluation

This adds a new `ParallelMultiFunction` which wraps another multi-function
and evaluates it with multiple threads. The speeds up field evaluation
quite a bit (the effect is most noticeable when the number of evaluations
and the field is large).

There are still other single-threaded performance bottlenecks in field
evaluation that will need to be solved separately. Most notably here
is the process of copying the computed data into the position attribute
in the Set Position node.

Differential Revision: https://developer.blender.org/D12457

Commit Details:

Full Hash: e6ca0545904fe4236be9960fdb3c2760092582a5
Parent Commit: fb27a9b
Lines Changed: +335, -2

3 Added Paths:

/source/blender/blenlib/intern/index_mask.cc (+57, -0) (View)
/source/blender/functions/FN_multi_function_parallel.hh (+39, -0) (View)
/source/blender/functions/intern/multi_function_parallel.cc (+95, -0) (View)

7 Modified Paths:

/source/blender/blenlib/BLI_index_mask.hh (+3, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenlib/tests/BLI_index_mask_test.cc (+24, -0) (Diff)
/source/blender/functions/CMakeLists.txt (+18, -0) (Diff)
/source/blender/functions/FN_generic_virtual_array.hh (+46, -0) (Diff)
/source/blender/functions/intern/field.cc (+9, -2) (Diff)
/source/blender/functions/intern/generic_virtual_array.cc (+43, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021