Migrate to modern TBB version
This commit is contained in:
parent
2c6527a562
commit
a64e58633d
@ -7,9 +7,6 @@
|
|||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
// make sure not to leak in recursive bisection
|
|
||||||
#include <tbb/global_control.h>
|
|
||||||
tbb::global_control scheduler(tbb::global_control::max_allowed_parallelism, 2);
|
|
||||||
|
|
||||||
using namespace osrm::partitioner;
|
using namespace osrm::partitioner;
|
||||||
using namespace osrm::util;
|
using namespace osrm::util;
|
||||||
|
|||||||
@ -24,10 +24,6 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
// explicit TBB scheduler init to register resources cleanup at exit
|
|
||||||
#include <tbb/global_control.h>
|
|
||||||
tbb::global_control scheduler(tbb::global_control::max_allowed_parallelism, 2);
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE(static_rtree)
|
BOOST_AUTO_TEST_SUITE(static_rtree)
|
||||||
|
|
||||||
using namespace osrm;
|
using namespace osrm;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user