Remove Solver::Options::num_linear_solver_threads

Also removed Solver::Summary::num_linear_solver_threads_given
and Solver::Summary::num_linear_solver_threads_used.

Change-Id: I559145ae2e7af597ea06ec03d386645a3a892e9f
This commit is contained in:
Sameer Agarwal
2018-04-26 21:13:35 -07:00
parent cd48f83f8d
commit cfdc2af28b
4 changed files with 0 additions and 77 deletions
-13
View File
@@ -56,19 +56,6 @@ Preprocessor::~Preprocessor() {
}
void ChangeNumThreadsIfNeeded(Solver::Options* options) {
if (options->num_linear_solver_threads != -1 &&
options->num_threads != options->num_linear_solver_threads) {
LOG(WARNING) << "Solver::Options::num_threads = "
<< options->num_threads
<< " and Solver::Options::num_linear_solver_threads = "
<< options->num_linear_solver_threads
<< ". Solver::Options::num_linear_solver_threads is "
<< "deprecated and is ignored."
<< "Solver::Options::num_threads now controls threading "
<< "behaviour in all of Ceres Solver. "
<< "This field will go away in Ceres Solver 1.15.0.";
}
#ifdef CERES_NO_THREADS
if (options->num_threads > 1) {
LOG(WARNING)