mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
7b2717582a
Implements ParallelFor using the C++11 based ThreadPool. The C++11 parallel for is 50-70% faster than single threaded, and 20-30% slower than TBB. Tested by compiling with OpenMP, TBB, and C++11 Threading support and ran the unit tests. Ran bazel as well. Change-Id: I7fd6c9037ff9f200ce6999b5f39918995bb6b8ea