Skip to content

Conversation

@Richard-coder
Copy link

6 times faster on gpu. cpu: i9-13900K(F), gpu: 4090

@sarlinpe
Copy link
Member

From the Ceres doc:

Currently this support is limited to using the dense linear solvers that ship with CUDA. As a result GPU acceleration can be used to speed up DENSE_QR, DENSE_NORMAL_CHOLESKY and DENSE_SCHUR.

So using CUDA or not is independent from linear_solver_type and yields improvements only for small problems (num_images <= kMaxNumImagesDirectDenseSolver) - at least until sparse solvers are GPU-accelerated as well (ceres-solver/ceres-solver#759).

@Richard-coder
Copy link
Author

Thanks, I create this request because in my experiments, for scenes around 2000 images(sparse problem with DENSE_SCHUR), mapper and bundle_adjuster is faster with gpu. Thanks for your reply, it seems better to close this reuqest and wait ceres 2.2 support sparse solvers

@Richard-coder Richard-coder deleted the cuda_ba branch November 6, 2023 02:05
@pwais
Copy link

pwais commented Jul 9, 2024

cc @sarlinpe It looks like CERES just recently got at least cuDSS sparse cholesky ceres-solver/ceres-solver@6fb3dae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants