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 706b8efCopy full SHA for 706b8ef
src/options.cpp
@@ -13,7 +13,7 @@ extern "C" SEXP defaultNumThreads() {
13
#ifndef __TBB_tbb_stddef_H
14
INTEGER(threadsSEXP)[0] = tbb::global_control::default_num_threads();
15
#else
16
- INTEGER(threadsSEXP)[0] = tbb::task_scheduler_init::default_num_threads();
+ INTEGER(threadsSEXP)[0] = tbb::global_control::max_allowed_parallelism;
17
#endif
18
return threadsSEXP;
19
}
0 commit comments