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

class ProductDimMsk

A masked dimension product schedule is a communication schedule for multiplying together, under the control of mask, the elements of a distributed array along one of its dimensions, yielding a reduced array with rank one less than the source.

A masked dimension product schedule is described by a collective object with local components of class ProductDimMsk. The public interface of the ProductDimMsk class is

  class DAD ;

  template<class T>
  class ProductDimMsk {
  public :
    ProductDimMsk(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