Daniel J. Hofmann
|
17d8e65c64
|
Silence unused variable warnings
|
2015-09-30 18:20:00 +02:00 |
|
Daniel J. Hofmann
|
85cef7e37c
|
Revert parallelization on util that is used in the server. Let node do this.
This reverts @6b2bf49 on the server component utils.
|
2015-09-28 20:26:29 +02:00 |
|
Daniel J. Hofmann
|
9231335eef
|
Use Intel TBB's parallel_sort even for nested parallelism.
TBB has a global task scheduler (that's one of the reason TBB is not
linked statically but dyanmically instead). This allows control over all
running threads, enabling us to use nested parallelism and the scheduler
doing all the task allocation itself.
That is, nested parallel execution such as in
parallel_for(seq, [](const auto& rng){
parallel_sort(rng);
});
is no problem at all, as the scheduler still claims control over the
global environment.
Therefore, use `parallel_sort` Range overload where possible.
References:
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/algorithms.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/algorithms/parallel_sort_func.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/task_scheduler.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/task_scheduler/task_scheduler_init_cls.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#tbb_userguide/Initializing_and_Terminating_the_Library.htm
|
2015-09-28 20:26:03 +02:00 |
|
Dennis Luxen
|
a4f31001e8
|
MSVC doesnt properly support the noexcept operator
|
2015-04-02 15:11:23 +02:00 |
|
Dennis Luxen
|
c2deedac8b
|
sprinkle a number of noexcepts into the code
|
2015-04-02 11:36:04 +02:00 |
|
Dennis Luxen
|
c2098938f5
|
add convenience variadic template function to append elements to a container
|
2015-02-27 13:52:58 +01:00 |
|
Dennis Luxen
|
3bd27ae8c5
|
change copyright line from personal names to project
|
2015-02-19 09:19:51 +01:00 |
|
Dennis Luxen
|
25c52b7482
|
rewrite sort/unique function to be more generic
|
2015-02-12 15:02:16 +01:00 |
|
Dennis Luxen
|
b20b7e65bf
|
renamed: Util/* -> util/*
|
2015-01-27 17:47:23 +01:00 |
|