Using 1 thread for now for profiling
parent
f1162c3263
commit
afb8a9aa1b
|
@ -277,7 +277,7 @@ namespace gtsam {
|
||||||
// that contains all of the roots as its children. rootsContainer also stores the remaining
|
// that contains all of the roots as its children. rootsContainer also stores the remaining
|
||||||
// uneliminated factors passed up from the roots.
|
// uneliminated factors passed up from the roots.
|
||||||
EliminationData<This> rootsContainer(0, roots_.size());
|
EliminationData<This> rootsContainer(0, roots_.size());
|
||||||
//tbb::task_scheduler_init init(1);
|
tbb::task_scheduler_init init(1);
|
||||||
treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor<This>,
|
treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor<This>,
|
||||||
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function), 10);
|
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function), 10);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue