commit | 0e8264cc47661651a11e2dd8570c210082963545 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sat Aug 22 16:23:05 2015 +0100 |
committer | Alex Stewart <alexs.mac@gmail.com> | Wed Sep 02 19:37:01 2015 +0100 |
tree | 008019bedaaeb20b8d7818d2bb683d0a57493655 | |
parent | a1b3fce9e0a4141b973f6b4dd9b08c4c13052d52 [diff] |
Add increased inline threshold (iff Clang) to exported Ceres target. - When compiled with Clang, Ceres and all of the examples are compiled with an increased inlining-threshold, as the default value can result in poor Eigen performance. - Previously, client code using Ceres would typically not use an increased inlining-threshold (unless the user has specifically added it themselves). However, increasing the inlining threshold can result in significant performance improvements in auto-diffed CostFunctions. - This patch adds the inlining-threshold flags to the interface flags for the Ceres CMake target s/t any client code using Ceres (via CMake), and compiled with Clang, will now be compiled with the same increased inlining threshold as used by Ceres itself. Change-Id: I31e8f1abfda140d22e85bb48aa57f028a68a415e
Please see ceres-solver.org for more information.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver