PPL Logo

arch/util/machine-broadcast.C File Reference

Go to the source code of this file.

Functions

CmiCommHandle CmiSendNetworkFunc (int destPE, int size, char *msg, int mode)
static void handleOneBcastMsg (int size, char *msg)
static void processBcastQs (void)
static INLINE_KEYWORD void forwardProcBcastMsg (int size, char *msg)
static INLINE_KEYWORD void processProcBcastMsg (int size, char *msg)
static INLINE_KEYWORD void forwardNodeBcastMsg (int size, char *msg)
void CmiForwardNodeBcastMsg (int size, char *msg)
static INLINE_KEYWORD void processNodeBcastMsg (int size, char *msg)
void CmiForwardProcBcastMsg (int size, char *msg)
void CmiForwardMsgToPeers (int size, char *msg)
static void SendSpanningChildren (int size, char *msg, int rankToAssign, int startNode)
static void SendHyperCube (int size, char *msg, int rankToAssign, int startNode)
static void SendSpanningChildrenProc (int size, char *msg)
static void SendHyperCubeProc (int size, char *msg)
static void SendSpanningChildrenNode (int size, char *msg)
static void SendHyperCubeNode (int size, char *msg)
void CmiSyncBroadcastFn1 (int size, char *msg)
void CmiSyncBroadcastFn (int size, char *msg)
void CmiFreeBroadcastFn (int size, char *msg)
CmiCommHandle CmiAsyncBroadcastFn (int size, char *msg)
void CmiSyncBroadcastAllFn (int size, char *msg)
void CmiFreeBroadcastAllFn (int size, char *msg)
CmiCommHandle CmiAsyncBroadcastAllFn (int size, char *msg)
void CmiSyncNodeBroadcastFn (int size, char *msg)
void CmiFreeNodeBroadcastFn (int size, char *msg)
CmiCommHandle CmiAsyncNodeBroadcastFn (int size, char *msg)
void CmiSyncNodeBroadcastAllFn (int size, char *msg)
CmiCommHandle CmiAsyncNodeBroadcastAllFn (int size, char *msg)
void CmiFreeNodeBroadcastAllFn (int size, char *msg)
void CmiSyncListSendFn (int npes, const int *pes, int len, char *msg)
CmiCommHandle CmiAsyncListSendFn (int npes, const int *pes, int len, char *msg)
void CmiFreeListSendFn (int npes, const int *pes, int len, char *msg)


Function Documentation

CmiCommHandle CmiSendNetworkFunc ( int  destPE,
int  size,
char *  msg,
int  mode 
)

Definition at line 620 of file machine-common-core.C.

References CmiInterSendNetworkFunc(), and CMK_REG_NO_CMA_MSG.

Referenced by CmiAsyncNodeSendFn(), CmiAsyncSendFn(), SendHyperCube(), and SendSpanningChildren().

Here is the call graph for this function:

Here is the caller graph for this function:

static void handleOneBcastMsg ( int  size,
char *  msg 
) [static]

Definition at line 10 of file machine-broadcast.C.

References processNodeBcastMsg(), and processProcBcastMsg().

Referenced by handleOneRecvedMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static void processBcastQs ( void   )  [static]

Definition at line 31 of file machine-broadcast.C.

References msg, processNodeBcastMsg(), and processProcBcastMsg().

Referenced by AdvanceCommunication().

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE_KEYWORD void forwardProcBcastMsg ( int  size,
char *  msg 
) [static]

Definition at line 54 of file machine-broadcast.C.

References CmiFree(), CmiGetReference(), CopyMsg(), SendHyperCubeProc(), and SendSpanningChildrenProc().

Referenced by CmiForwardProcBcastMsg(), and processProcBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE_KEYWORD void processProcBcastMsg ( int  size,
char *  msg 
) [static]

Definition at line 71 of file machine-broadcast.C.

References CmiPushPE(), and forwardProcBcastMsg().

Referenced by handleOneBcastMsg(), and processBcastQs().

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE_KEYWORD void forwardNodeBcastMsg ( int  size,
char *  msg 
) [static]

Definition at line 91 of file machine-broadcast.C.

References SendHyperCubeNode(), and SendSpanningChildrenNode().

Referenced by CmiForwardNodeBcastMsg(), and processNodeBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiForwardNodeBcastMsg ( int  size,
char *  msg 
)

Definition at line 100 of file machine-broadcast.C.

References forwardNodeBcastMsg().

Referenced by forwardMessageToChildNodes().

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE_KEYWORD void processNodeBcastMsg ( int  size,
char *  msg 
) [static]

Definition at line 104 of file machine-broadcast.C.

References CmiPushNode(), and forwardNodeBcastMsg().

Referenced by handleOneBcastMsg(), and processBcastQs().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiForwardProcBcastMsg ( int  size,
char *  msg 
)

Definition at line 124 of file machine-broadcast.C.

References forwardProcBcastMsg().

Referenced by forwardMessageToChildNodes(), readonlyGet(), and readonlyGetCompleted().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiForwardMsgToPeers ( int  size,
char *  msg 
)

Definition at line 130 of file machine-broadcast.C.

References SendToPeers().

Referenced by _processRODataMsg(), _sendReadonlies(), forwardMessageToPeerNodes(), and sendRecvDoneMsgToPeers().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendSpanningChildren ( int  size,
char *  msg,
int  rankToAssign,
int  startNode 
) [static]

Definition at line 135 of file machine-broadcast.C.

References _topoTree, CmiSpanningTreeInfo::child_count, CmiSpanningTreeInfo::children, CmiNodeFirst(), CmiReference(), CmiSendNetworkFunc(), CopyMsg(), get_topo_tree_nbs(), and parent().

Referenced by CmiSendMessageXpmem(), SendSpanningChildrenNode(), and SendSpanningChildrenProc().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendHyperCube ( int  size,
char *  msg,
int  rankToAssign,
int  startNode 
) [static]

Definition at line 188 of file machine-broadcast.C.

References CmiNodeFirst(), CmiNodesDim, CmiReference(), CmiSendNetworkFunc(), CopyMsg(), and dims.

Referenced by SendHyperCubeNode(), and SendHyperCubeProc().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendSpanningChildrenProc ( int  size,
char *  msg 
) [static]

Definition at line 237 of file machine-broadcast.C.

References SendSpanningChildren(), and SendToPeers().

Referenced by CmiSyncBroadcastFn1(), and forwardProcBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendHyperCubeProc ( int  size,
char *  msg 
) [static]

Definition at line 252 of file machine-broadcast.C.

References CmiNodeOf(), SendHyperCube(), and SendToPeers().

Referenced by CmiSyncBroadcastFn1(), and forwardProcBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendSpanningChildrenNode ( int  size,
char *  msg 
) [static]

Definition at line 272 of file machine-broadcast.C.

References SendSpanningChildren().

Referenced by CmiSyncNodeBroadcastFn(), and forwardNodeBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

static void SendHyperCubeNode ( int  size,
char *  msg 
) [static]

Definition at line 276 of file machine-broadcast.C.

References SendHyperCube().

Referenced by CmiSyncNodeBroadcastFn(), and forwardNodeBcastMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSyncBroadcastFn1 ( int  size,
char *  msg 
)

Definition at line 284 of file machine-broadcast.C.

References _Cmi_numpes, CmiMyPe(), CmiMyRank(), CmiSyncSendFn(), CQdCreate(), SendHyperCubeProc(), and SendSpanningChildrenProc().

Referenced by CmiFreeBroadcastAllFn(), CmiFreeBroadcastFn(), CmiSyncBroadcastAllFn(), and CmiSyncBroadcastFn().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSyncBroadcastFn ( int  size,
char *  msg 
)

Definition at line 320 of file machine-broadcast.C.

References CmiFree(), CmiSyncBroadcastFn1(), and CopyMsg().

Referenced by Converse::CmiSyncBroadcast().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiFreeBroadcastFn ( int  size,
char *  msg 
)

Definition at line 333 of file machine-broadcast.C.

References CmiFree(), and CmiSyncBroadcastFn1().

Referenced by Converse::CmiSyncBroadcastAndFree().

Here is the call graph for this function:

Here is the caller graph for this function:

CmiCommHandle CmiAsyncBroadcastFn ( int  size,
char *  msg 
)

Definition at line 343 of file machine-broadcast.C.

References CmiAbort().

Referenced by CmiAsyncBroadcastAllFn().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSyncBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 351 of file machine-broadcast.C.

References CmiFree(), CmiMyPe(), CmiSyncBroadcastFn1(), CmiSyncSendFn(), and CopyMsg().

Referenced by Converse::CmiSyncBroadcastAll().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiFreeBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 365 of file machine-broadcast.C.

References CmiFree(), CmiGetReference(), CmiSendSelf(), CmiSyncBroadcastFn1(), and CopyMsg().

Referenced by Converse::CmiSyncBroadcastAllAndFree().

Here is the call graph for this function:

Here is the caller graph for this function:

CmiCommHandle CmiAsyncBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 379 of file machine-broadcast.C.

References CmiAsyncBroadcastFn(), CmiSendSelf(), and CopyMsg().

Here is the call graph for this function:

void CmiSyncNodeBroadcastFn ( int  size,
char *  msg 
)

Definition at line 386 of file machine-broadcast.C.

References CmiSyncNodeSendFn(), CQdCreate(), SendHyperCubeNode(), and SendSpanningChildrenNode().

Referenced by CmiAsyncNodeBroadcastFn(), CmiFreeNodeBroadcastAllFn(), CmiFreeNodeBroadcastFn(), and CmiSyncNodeBroadcastAllFn().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiFreeNodeBroadcastFn ( int  size,
char *  msg 
)

Definition at line 406 of file machine-broadcast.C.

References CmiFree(), and CmiSyncNodeBroadcastFn().

Here is the call graph for this function:

CmiCommHandle CmiAsyncNodeBroadcastFn ( int  size,
char *  msg 
)

Definition at line 413 of file machine-broadcast.C.

References CmiSyncNodeBroadcastFn().

Referenced by CmiAsyncNodeBroadcastAllFn().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSyncNodeBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 419 of file machine-broadcast.C.

References CmiSyncNodeBroadcastFn(), and CmiSyncNodeSendFn().

Here is the call graph for this function:

CmiCommHandle CmiAsyncNodeBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 424 of file machine-broadcast.C.

References CmiAsyncNodeBroadcastFn(), CmiSendNodeSelf(), and CopyMsg().

Here is the call graph for this function:

void CmiFreeNodeBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 429 of file machine-broadcast.C.

References CmiSendNodeSelf(), and CmiSyncNodeBroadcastFn().

Here is the call graph for this function:


Generated on Mon Sep 21 07:56:26 2020 for Charm++ by  doxygen 1.5.5