mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
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:
committed by
Sameer Agarwal
parent
2166bad133
commit
16f9b34c3b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user