PEXSI
 All Classes Namespaces Files Functions Variables Typedefs Pages
Public Member Functions | Protected Member Functions | List of all members
PEXSI::PalmTreeReduce< T > Class Template Reference
Inheritance diagram for PEXSI::PalmTreeReduce< T >:
PEXSI::TreeReduce< T > PEXSI::TreeBcast

Public Member Functions

 PalmTreeReduce (const MPI_Comm &pComm, Int *ranks, Int rank_cnt, Int msgSize)
 
virtual void Copy (const PalmTreeReduce &Tree)
 
virtual PalmTreeReduceclone () const
 
- Public Member Functions inherited from PEXSI::TreeReduce< T >
 TreeReduce (const MPI_Comm &pComm, Int *ranks, Int rank_cnt, Int msgSize)
 
 TreeReduce (const TreeReduce &Tree)
 
virtual void Copy (const TreeReduce &Tree)
 
bool IsAllocated ()
 
virtual Int GetNumMsgToRecv ()
 
virtual void AllocRecvBuffers ()
 
void CleanupBuffers ()
 
void Reset ()
 
void SetLocalBuffer (T *locBuffer)
 
bool AccumulationDone ()
 
bool IsDone ()
 
virtual bool Progress ()
 
void Wait ()
 
T * GetLocalBuffer ()
 
void CopyLocalBuffer (T *destBuffer)
 
virtual void PostFirstRecv ()
 
- Public Member Functions inherited from PEXSI::TreeBcast
 TreeBcast (const MPI_Comm &pComm, Int *ranks, Int rank_cnt, Int msgSize)
 
 TreeBcast (const TreeBcast &Tree)
 
virtual void Copy (const TreeBcast &Tree)
 
void Reset ()
 
virtual Int GetNumRecvMsg ()
 
void SetDataReady (bool rdy)
 
void SetTag (Int tag)
 
int GetTag ()
 
Int * GetDests ()
 
Int GetDest (Int i)
 
Int GetDestCount ()
 
Int GetRoot ()
 
Int GetMsgSize ()
 
void ForwardMessage (char *data, size_t size, int tag, MPI_Request *requests)
 

Protected Member Functions

virtual void buildTree (Int *ranks, Int rank_cnt)
 
- Protected Member Functions inherited from PEXSI::TreeReduce< T >
virtual void Reduce (Int idxRecv, Int idReq)
 
void Forward ()
 

Additional Inherited Members

- Static Public Member Functions inherited from PEXSI::TreeReduce< T >
static TreeReduce< T > * Create (const MPI_Comm &pComm, Int *ranks, Int rank_cnt, Int msgSize, double rseed)
 
- Static Public Member Functions inherited from PEXSI::TreeBcast
static TreeBcastCreate (const MPI_Comm &pComm, Int *ranks, Int rank_cnt, Int msgSize, double rseed)
 
- Protected Attributes inherited from PEXSI::TreeReduce< T >
T * myData_
 
MPI_Request sendRequest_
 
NumVec< char > myLocalBuffer_
 
NumVec< char > myRecvBuffers_
 
NumVec< T * > remoteData_
 
NumVec< MPI_Request > myRequests_
 
NumVec< MPI_Status > myStatuses_
 
NumVec< int > recvIdx_
 
bool fwded_
 
bool done_
 
bool isAllocated_
 
Int numRecvPosted_
 
- Protected Attributes inherited from PEXSI::TreeBcast
Int myRoot_
 
MPI_Comm comm_
 
vector< Int > myDests_
 
Int myRank_
 
Int msgSize_
 
bool isReady_
 
Int mainRoot_
 
Int tag_
 
Int numRecv_
 

The documentation for this class was generated from the following file: