Add TBB threading support.

There are platforms where OpenMP is not available. This
patch adds support for Intel Threading Building Blocks (TBB)
as an alternative threading backend.

Change-Id: I94497d7cba0c3cfaccfc992169236f17fe948ae9
This commit is contained in:
Yury Prokazov
2016-04-26 10:05:28 +02:00
committed by Yury Prokazov
parent 83f5d74ee6
commit 4ffec20a44
18 changed files with 810 additions and 143 deletions
+4 -4
View File
@@ -2111,8 +2111,8 @@ The three arrays will be:
Number of threads actually used by the solver for Jacobian and
residual evaluation. This number is not equal to
:member:`Solver::Summary::num_threads_given` if `OpenMP` is not
available.
:member:`Solver::Summary::num_threads_given` if neither `OpenMP` nor `TBB`
is available.
.. member:: int Solver::Summary::num_linear_solver_threads_given
@@ -2123,8 +2123,8 @@ The three arrays will be:
Number of threads actually used by the solver for solving the trust
region problem. This number is not equal to
:member:`Solver::Summary::num_linear_solver_threads_given` if
`OpenMP` is not available.
:member:`Solver::Summary::num_linear_solver_threads_given` if neither
`OpenMP` nor `TBB` is available.
.. member:: LinearSolverType Solver::Summary::linear_solver_type_given