We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b946a commit bb6a679Copy full SHA for bb6a679
src/colmap/estimators/bundle_adjustment.cc
@@ -346,7 +346,7 @@ ceres::Solver::Options BundleAdjuster::SetUpSolverOptions(
346
solver_options.linear_solver_type = ceres::SPARSE_SCHUR;
347
#if (CERES_VERSION_MAJOR >= 3 || \
348
(CERES_VERSION_MAJOR == 2 && CERES_VERSION_MINOR >= 2)) && \
349
- !defined(CERES_NO_CUDSS) && defined(CUDA_ENABLED)
+ !defined(CERES_NO_CUDSS) && defined(COLMAP_CUDA_ENABLED)
350
if (options_.use_gpu) {
351
const std::vector<int> gpu_indices = CSVToVector<int>(options_.gpu_index);
352
THROW_CHECK_GT(gpu_indices.size(), 0);
0 commit comments