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

template<class ArrayT>
void Impala::Core::Array::Pattern::PxBcastArray ( ArrayT *  a,
int  root = 0,
int  dtype = PX_MPI,
bool  bdata = false 
) [inline]

Definition at line 1232 of file PxDistribution.h.

References dp, PX_COUT, PX_ENDL, PX_MPI, PX_OFT, PX_SBT, PxBcastArrayMPI(), PxBcastArrayOFT(), PxBcastArraySBT(), and PxNrCPUs().

Referenced by PxArrayPreStateTrans(), and PxReadRaw().

01233 {
01234     /*** root  : rank of broadcast root node                        ***/
01235     /*** dtype : distribution type (PX_OFT, PX_SBT, or PX_MPI)      ***/
01236     /*** bdata : indicates whether border data is broadcast as well ***/
01237     
01238 if (dp) PX_COUT << "Bcast: " << "NrCPUs = " << PxNrCPUs() << PX_ENDL;
01239 
01240     switch (dtype) {
01241         case PX_OFT : PxBcastArrayOFT(a, root, bdata); break;
01242         case PX_SBT : PxBcastArraySBT(a, root, bdata); break;
01243         case PX_MPI :
01244         default         : PxBcastArrayMPI(a, root, bdata);
01245     }
01246 }

Here is the call graph for this function:


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