ParallelApply can now handle many data at a time.
This commit is contained in:
parent
66c7b1f12d
commit
f4d8b43f7d
3 changed files with 57 additions and 16 deletions
|
|
@ -10,8 +10,8 @@ using namespace std;
|
|||
|
||||
// Role map
|
||||
// 0 : general master
|
||||
// 1 : worker of general job, master of subjob
|
||||
// 2 and more : workers of subjob
|
||||
// 1, 2 : worker of general job, master of subjob
|
||||
// 3 to 7 : workers of subjob
|
||||
|
||||
struct SubWork: public eoUF< int&, void >
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue