Blender Git Loki

Blender Git "temp-tbb-task-scheduler" branch commits.

April 9, 2020, 09:08 (GMT)
Tasks: Fix Compiler Errors
November 4, 2019, 23:41 (GMT)
Tasks: rewrite task scheduler and pools to use TBB

TODO: test performance
* Local queues in depsgraph
* Grain size in parallel range
* Iterators chunk size calc
November 4, 2019, 23:41 (GMT)
Tasks: don't pass thread_id always, instead go through accessor

We should move away from using thread IDs and instead store any thread local
data in the TaskParallelTLS. Getting the thread ID will also be more expensive
with TBB and is not so well defined.
November 4, 2019, 23:41 (GMT)
Tasks: remove scheduler struct, there is only a global one now
November 4, 2019, 23:41 (GMT)
Tasks: use TBB for parallel range
November 4, 2019, 23:41 (GMT)
Tasks: split task.c into task_pool.cc and task_iterator.c
November 4, 2019, 23:41 (GMT)
Task: change func_finalize to func_reduce and func_free

In preparation of using TBB.
November 4, 2019, 23:41 (GMT)
Task: remove local queue and scheduling mode optimizations

Hopefully no longer needed with TBB, but needs to be tested.
November 4, 2019, 23:41 (GMT)
Task: don't use suspended task pool for iterators

There is no apparent reason for this, and it has extra overhead.
November 4, 2019, 23:41 (GMT)
Tasks: move priority from task to task pool
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021