A masked dimension maximum value schedule is a communication schedule for finding, under the control of mask, the largest elements of a distributed array along one of its dimensions, yielding a reduced array with rank one less than the source.
A masked dimension maximum value schedule is described by a collective object with local components of class MaxvalDimMsk. The public interface of the MaxvalDimMsk class is
class DAD ; template<class T> class MaxvalDimMsk { public : MaxvalDimMsk(const DAD* res, const DAD* src, const int dim, const DAD* msk) ; void execute(T* resDat, T* srcDat, int* mskDat) ; private : ... } ;