File tree 2 files changed +4
-4
lines changed
Filter options
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,
32
32
std::size_t end,
33
33
Worker& worker,
34
34
std::size_t grainSize = 1 ,
35
- std:: size_t numThreads = -1 )
35
+ int numThreads = -1 )
36
36
{
37
37
#if RCPP_PARALLEL_USE_TBB
38
38
if (internal::backend () == internal::BACKEND_TBB)
@@ -49,7 +49,7 @@ inline void parallelReduce(std::size_t begin,
49
49
std::size_t end,
50
50
Reducer& reducer,
51
51
std::size_t grainSize = 1 ,
52
- std:: size_t numThreads = -1 )
52
+ int numThreads = -1 )
53
53
{
54
54
#if RCPP_PARALLEL_USE_TBB
55
55
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,
186
186
std::size_t end,
187
187
Worker& worker,
188
188
std::size_t grainSize = 1 ,
189
- std:: size_t numThreads = -1 )
189
+ int numThreads = -1 )
190
190
{
191
191
tbb::task_arena arena (numThreads == -1 ? tbb::task_arena::automatic : numThreads);
192
192
tbb::task_group group;
@@ -200,7 +200,7 @@ inline void tbbParallelReduce(std::size_t begin,
200
200
std::size_t end,
201
201
Reducer& reducer,
202
202
std::size_t grainSize = 1 ,
203
- std:: size_t numThreads = -1 )
203
+ int numThreads = -1 )
204
204
{
205
205
tbb::task_arena arena (numThreads == -1 ? tbb::task_arena::automatic : numThreads);
206
206
tbb::task_group group;
You can’t perform that action at this time.
0 commit comments