Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class ArithT, class RedOpT>
ArithT Impala::Core::Array::Pattern::PxReduceValueToAll ( ArithT  val,
RedOpT  redOp,
int  dtype = PX_MPI 
) [inline]

Definition at line 552 of file PxDistribution.h.

References PX_MPI, PX_OFT, PX_SBT, PxReduceValueToAllMPI(), PxReduceValueToAllOFT(), and PxReduceValueToAllSBT().

Referenced by PatReduceOp().

00553 {
00554     /*** redOp : Horus reduction operation                          ***/
00555     /*** dtype : distribution type (PX_OFT, PX_SBT, or PX_MPI)      ***/
00556     
00557     switch (dtype) {
00558         case PX_OFT : return PxReduceValueToAllOFT(val, redOp); break;
00559         case PX_SBT : return PxReduceValueToAllSBT(val, redOp); break;
00560         case PX_MPI :
00561         default         : return PxReduceValueToAllMPI(val, redOp);
00562     }
00563 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:39 2010 for ImpalaSrc by  doxygen 1.5.1