next up previous contents
Next: Constructor Up: Communication schedules Previous: Overlap restrictions:

class MaxvalDimMsk

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 :
    ...
  } ;





Guansong Zhang
Fri Oct 9 12:29:23 EDT 1998