We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13829de commit 9121702Copy full SHA for 9121702
src/options.cpp
@@ -10,7 +10,7 @@
10
11
extern "C" SEXP defaultNumThreads() {
12
SEXP threadsSEXP = Rf_allocVector(INTSXP, 1);
13
-#ifndef __TBB_tbb_stddef_H
+#ifdef __TBB_task_arena_H
14
INTEGER(threadsSEXP)[0] = tbb::this_task_arena::max_concurrency();
15
#else
16
INTEGER(threadsSEXP)[0] = tbb::task_scheduler_init::default_num_threads();
0 commit comments