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

template<class ArithT>
static ArithT Impala::Core::Array::Pattern::PxBcastValueMPI ( ArithT  val,
int  root 
) [inline, static]

Definition at line 334 of file PxDistribution.h.

Referenced by PxBcastValue().

00335 {
00336     /*** MPI-Bcast. May be faster than OFT/SBT broadcast provided   ***/
00337     /*** above as specific communication subsystem capabilities may ***/
00338     /*** be incorporated in the implementation.                     ***/
00339 
00340     MPI_Datatype elem;
00341     MPI_Type_contiguous(sizeof(ArithT), MPI_BYTE, &elem);
00342     MPI_Type_commit(&elem);
00343     MPI_Bcast(&val, 1, elem, root, MPI_COMM_WORLD);
00344     MPI_Type_free(&elem);
00345     return val;
00346 }


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