mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 09:00:37 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user