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 d6347d2 commit b2ae11bCopy full SHA for b2ae11b
src/options.cpp
@@ -11,7 +11,7 @@
11
extern "C" SEXP defaultNumThreads() {
12
SEXP threadsSEXP = Rf_allocVector(INTSXP, 1);
13
#ifndef __TBB_tbb_stddef_H
14
- INTEGER(threadsSEXP)[0] = tbb::global_control::default_num_threads();
+ INTEGER(threadsSEXP)[0] = tbb::global_control::max_allowed_parallelism;
15
#else
16
INTEGER(threadsSEXP)[0] = tbb::task_scheduler_init::default_num_threads();
17
#endif
0 commit comments