Remove Intel TBB threading support.

- In light of the C++11 threads threading option this is no longer
  necessary for cross-platform threading support and did not offer a
  noticeable performance gain over either the C++11 threads
  implementation or OpenMP.

Change-Id: Icb588d520888c19a1775171795b55bcaffb3d256
This commit is contained in:
Alex Stewart
2018-07-01 14:03:31 +01:00
committed by Sameer Agarwal
parent 2166bad133
commit 16f9b34c3b
19 changed files with 20 additions and 203 deletions
+2 -2
View File
@@ -43,7 +43,7 @@
// residual jacobians are written directly into their final position in the
// block sparse matrix by the user's CostFunction; there is no copying.
//
// The evaluation is threaded with OpenMP or TBB.
// The evaluation is threaded with OpenMP or C++11 threads.
//
// The EvaluatePreparer and JacobianWriter interfaces are as follows:
//
@@ -118,7 +118,7 @@ class ProgramEvaluator : public Evaluator {
#ifdef CERES_NO_THREADS
if (options_.num_threads > 1) {
LOG(WARNING)
<< "Neither OpenMP nor TBB support is compiled into this binary; "
<< "No threading support is compiled into this binary; "
<< "only options.num_threads = 1 is supported. Switching "
<< "to single threaded mode.";
options_.num_threads = 1;