File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ inline void parallelFor(std::size_t begin,
3232 std::size_t end,
3333 Worker& worker,
3434 std::size_t grainSize = 1 ,
35- std:: size_t numThreads = -1 )
35+ int numThreads = -1 )
3636{
3737#if RCPP_PARALLEL_USE_TBB
3838 if (internal::backend () == internal::BACKEND_TBB)
@@ -49,7 +49,7 @@ inline void parallelReduce(std::size_t begin,
4949 std::size_t end,
5050 Reducer& reducer,
5151 std::size_t grainSize = 1 ,
52- std:: size_t numThreads = -1 )
52+ int numThreads = -1 )
5353{
5454#if RCPP_PARALLEL_USE_TBB
5555 if (internal::backend () == internal::BACKEND_TBB)
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ inline void tbbParallelFor(std::size_t begin,
186186 std::size_t end,
187187 Worker& worker,
188188 std::size_t grainSize = 1 ,
189- std:: size_t numThreads = -1 )
189+ int numThreads = -1 )
190190{
191191 tbb::task_arena arena (numThreads == -1 ? tbb::task_arena::automatic : numThreads);
192192 tbb::task_group group;
@@ -200,7 +200,7 @@ inline void tbbParallelReduce(std::size_t begin,
200200 std::size_t end,
201201 Reducer& reducer,
202202 std::size_t grainSize = 1 ,
203- std:: size_t numThreads = -1 )
203+ int numThreads = -1 )
204204{
205205 tbb::task_arena arena (numThreads == -1 ? tbb::task_arena::automatic : numThreads);
206206 tbb::task_group group;
You can’t perform that action at this time.
0 commit comments