Changed Allreduce to Reduce for CurrentCollector
and DeletionLogger; removed sync_ field copies
This commit is contained in:
@@ -45,6 +45,13 @@ class CpuSynchronizer {
|
||||
|
||||
// array has to be the delta of the timestep
|
||||
void sumToAll(blitz::Array<double, 5>& array);
|
||||
|
||||
// collect data to rank 0 functions
|
||||
void sumToRoot(blitz::Array<double, 3>& array);
|
||||
void sumToRoot(long int& value);
|
||||
void sumToRoot(double& value);
|
||||
|
||||
const int root = 0;
|
||||
};
|
||||
|
||||
#endif /* CPU_SYNCHRONIZER_H */
|
||||
|
||||
Reference in New Issue
Block a user