Significant performance gains can be achieved by compiling gtsam with NDEBUG defined. This causes uBLAS to be optimized.
5x speedup on large factor graph, 10x speedup on smaller one.release/4.3a0
parent
4af2382105
commit
b65b0c367e
|
@ -1 +1,4 @@
|
||||||
./configure --prefix=$HOME --with-toolbox=$HOME/toolbox/ --with-boost=/opt/local/include/
|
./configure --prefix=$HOME --with-toolbox=$HOME/toolbox/ --with-boost=/opt/local/include/
|
||||||
|
|
||||||
|
# for maximum performance on Intel Core2 platform:
|
||||||
|
# ./configure --prefix=$HOME --with-toolbox=$HOME/toolbox/ --with-boost=/opt/local/include/ CXXFLAGS="-O3 -march=nocona -mtune=generic -NDEBUG"
|
Loading…
Reference in New Issue