mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Deprecate Solver::Options::num_linear_solver_threads
1. Solver::Options::num_threads now controls parallelism in Ceres Solver. The user specified value of Solver::Options::num_linear_solver_threads is ignored. 2. If the user specifies Solver::Options::num_linear_solver_threads and it is different from Solver::Options::num_threads, a warning is printed. 3. Solver::Summary:num_linear_solver_threads_given and Solver::Summary::num_linear_solver_threads_used are also deprecated and are always set to Solver::Summary::num_threads_given and Solver::Summary::num_threads_used. Change-Id: I20b9336d9336e400e6f0a15b63857c0c43eb271c
This commit is contained in:
@@ -140,7 +140,6 @@ void SetLinearSolver(Solver::Options* options) {
|
||||
CHECK(StringToDenseLinearAlgebraLibraryType(
|
||||
FLAGS_dense_linear_algebra_library,
|
||||
&options->dense_linear_algebra_library_type));
|
||||
options->num_linear_solver_threads = FLAGS_num_threads;
|
||||
options->use_explicit_schur_complement = FLAGS_explicit_schur_complement;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user