commit | a98fdf5822bfa47cfcacea0f5cd98cdb0e61e573 | [log] [tgz] |
---|---|---|
author | Jason Mak <jamak3@gmail.com> | Wed May 17 01:30:34 2023 -0700 |
committer | Jason Mak <jamak3@gmail.com> | Wed Aug 16 17:10:09 2023 +0000 |
tree | 73bcb9f100d251eaeef0eec6e8fad56701a351e0 | |
parent | ec4907399a59e840fa240aafcbc6b8e49dd7f464 [diff] |
Update CMakeLists.txt to fix Windows CUDA build - In the top-level CMakeLists.txt, certain flags are passed to disable warnings and increase the maximum size of an object file. nvcc cannot handle these flags so we tell CMake to only use them for C++ code (and not CUDA code). - In internal/ceres/CMakeLists.txt, CMake is originally told to link the import library cudart.lib when linking CUDA code. By default, it seems that Visual Studio will link the static library cudart_static.lib when linking CUDA code. So we avoid linking with cudart.lib to avoid linking the same library twice. Change-Id: I1fbf0d7e76d57b4338708757b27f5074722608cb
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.