http://www.miikahweb.com/feed.php MiikaHweb - Blender Tmp-task-foreach-pool Branch http://www.miikahweb.com/ MiikaHweb - Blender Tmp-task-foreach-pool Branch fi Wed, 20 Jan 21 01:14:44 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[727d009]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/727d009b2f823ac7c481cdcd79bd38a3d2e23c88 727d009
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Mon, 25 Nov 2019 10:53:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/727d009b2f823ac7c481cdcd79bd38a3d2e23c88Bastien Montagne
<![CDATA[[3961d54]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/3961d541b6b9a51849ab240eba6311363dab888d 3961d54
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Fri, 22 Nov 2019 14:30:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3961d541b6b9a51849ab240eba6311363dab888dBastien Montagne
<![CDATA[[5124812]: Add threaded handling of finalize callbacks for parallel range...]]> http://www.miikahweb.com/en/blender/git-logs/commit/5124812780f7e246fe8eadb10a6fc3a55b7ffc25 5124812
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Add threaded handling of finalize callbacks for parallel range pool.

As suggested by @sergey in review comments, thanks.

Thhis will add a additional speed-up benefit to using those pools when
finalization computations are not trivial.

----------------------------------------
1 Path Changed]]>
Fri, 22 Nov 2019 14:51:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5124812780f7e246fe8eadb10a6fc3a55b7ffc25Bastien Montagne
<![CDATA[[bfd5b28]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/bfd5b286967745fca05285cba7f971c30ad53341 bfd5b28
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Fri, 22 Nov 2019 10:46:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bfd5b286967745fca05285cba7f971c30ad53341Bastien Montagne
<![CDATA[[da28212]: Updates from review (var naming mostly).]]> http://www.miikahweb.com/en/blender/git-logs/commit/da282122684f69e226046175fde275da489169e9 da28212
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Updates from review (var naming mostly).

----------------------------------------
1 Path Changed]]>
Thu, 21 Nov 2019 15:22:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/da282122684f69e226046175fde275da489169e9Bastien Montagne
<![CDATA[[ef6f326]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/ef6f3266f8fabf1d3c65eaa4043023029141deb5 ef6f326
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Thu, 21 Nov 2019 14:38:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ef6f3266f8fabf1d3c65eaa4043023029141deb5Bastien Montagne
<![CDATA[[f43d1ae]: More naming consistancy cleanup + fix bug in single thread...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f43d1aebcc8e3e3686c5d93a867183c71ae50556 f43d1ae
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
More naming consistancy cleanup + fix bug in single thread case with tls data.

----------------------------------------
1 Path Changed]]>
Fri, 22 Nov 2019 10:57:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f43d1aebcc8e3e3686c5d93a867183c71ae50556Bastien Montagne
<![CDATA[[0317104]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/031710420c694dfa6cfcfc5a91c1bad9751d5593 0317104
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Tue, 12 Nov 2019 11:09:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/031710420c694dfa6cfcfc5a91c1bad9751d5593Bastien Montagne
<![CDATA[[93147ca]: BLI_task: Initial implementation of pooled threaded index range...]]> http://www.miikahweb.com/en/blender/git-logs/commit/93147cab0350151a376a65d244dc5b275a0baa3e 93147ca
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
BLI_task: Initial implementation of pooled threaded index range iterator.

This code allows to push a set of different operations all based on
iterations over a range of indices, and then process them all at once
over multiple threads.

This is mainly interesting for relatively low amount of individual
tasks, as expected.

E.g. performance tests on a 32 threads machine, for a set of 10
different tasks, shows following improvements when using pooled version
instead of ten sequential calls to `BLI_task_parallel_range()`:

| Num Items | Sequential | Pooled | Speed-up |
| --------- | ---------- | ------- | -------- |
| 10K | 365 us | 138 us | 2.5 x |
| 100K | 877 us | 530 us | 1.66 x |
| 1000K | 5521 us | 4625 us | 1.25 x |

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

----------------------------------------
4 Paths Changed]]>
Mon, 11 Nov 2019 09:34:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/93147cab0350151a376a65d244dc5b275a0baa3eBastien Montagne
<![CDATA[[b74e248]: Merge branch 'master' into tmp-task-foreach-pool]]> http://www.miikahweb.com/en/blender/git-logs/commit/b74e2485b7cc81df8e913d54cb58ddcb51d7492d b74e248
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into tmp-task-foreach-pool

----------------------------------------
0 Paths Changed]]>
Mon, 11 Nov 2019 14:26:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b74e2485b7cc81df8e913d54cb58ddcb51d7492dBastien Montagne
<![CDATA[[de92947]: Pool range iter: compute 'static' scheduler chunk size from...]]> http://www.miikahweb.com/en/blender/git-logs/commit/de92947768df68a4b5fc5b0ed33467bcdd9066d1 de92947
Branches : tmp-task-foreach-pool
Author : Bastien Montagne (mont29)
----------------------------------------
Pool range iter: compute 'static' scheduler chunk size from smallest range.

Computing it from sum of all the ranges is rather stupid and meaning
less, pooled range iterator needs to be at least somewhat dynamic in any
case...

----------------------------------------
1 Path Changed]]>
Mon, 11 Nov 2019 14:32:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/de92947768df68a4b5fc5b0ed33467bcdd9066d1Bastien Montagne