Skip to content

Commit ca4e18c

Browse files
committed
add tbb headers for back-compat
1 parent d76da02 commit ca4e18c

File tree

1 file changed

+12
-0
lines changed
  • inst/include/RcppParallel

1 file changed

+12
-0
lines changed

inst/include/RcppParallel/TBB.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
# define TBB_PREVIEW_GLOBAL_CONTROL 1
88
#endif
99

10+
// For compatibility with existing packages on CRAN.
11+
#include "tbb/blocked_range.h"
12+
#include "tbb/concurrent_unordered_set.h"
13+
#include "tbb/concurrent_unordered_map.h"
14+
#include "tbb/global_control.h"
15+
#include "tbb/mutex.h"
16+
#include "tbb/parallel_for.h"
17+
#include "tbb/parallel_for_each.h"
18+
#include "tbb/parallel_reduce.h"
19+
#include "tbb/parallel_sort.h"
20+
#include "tbb/spin_mutex.h"
21+
1022
// For compatibility with older R packages.
1123
namespace tbb {
1224

0 commit comments

Comments
 (0)