Add BatchParallelFor, TryParallelFor, TryBatchParallelFor into ThreadPool #2476
move TryParallelFor into common.h
525ecfc3
fs-eire
requested a review
6 years ago
add missed file
1d2e0f88
snnn
commented
on 2019-11-26
fix build break
515863a5
set batch size to numThreads + 1
9c0d175d
fix build warning in linux
d4368a74
move to ThreadPool::BatchParallelFor
94818402
move Try* functions into class ThreadPool
aeb60872
revise function description
0596ab79
avoid creating function object
6168353a
fix parameter for BatchParallelFor
8ece3277
deal with batch_size >= total
545cb3e2
fix batch_size <= 1
2caa7c0d
add unit test
57c78da9
use std::forward
f67abbb2
fs-eire
changed the title move TryParallelFor into common.h Add BatchParallelFor, TryParallelFor, TryBatchParallelFor into ThreadPool 6 years ago
fix unittest and add a new case
43689e2f
revise parameter name
29c405a5
fs-eire
merged
e29fb5ce
into master 6 years ago
fs-eire
deleted the fs-eire/try-parallel-for branch 6 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub