ParallelApply can now handle many data at a time.

This commit is contained in:
Benjamin Bouvier 2012-06-25 13:41:48 +02:00
commit f4d8b43f7d
3 changed files with 57 additions and 16 deletions

View file

@ -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 >
{