PPL Logo

conv-core/conv-rdma.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* RdmaEMAckCallerFn )(int destPe, void *token)
typedef void(* RdmaAckCallerFn )(void *token)

Functions

void CmiSetRdmaCommonInfo (void *info, const void *ptr, int size)
int CmiGetRdmaCommonInfoSize (void)
void CmiSetRdmaBufferInfo (void *info, const void *ptr, int size, unsigned short int mode)
void CmiSetDirectNcpyAckHandler (RdmaAckCallerFn fn)
void CmiSetEMNcpyAckHandler (RdmaEMAckCallerFn fn, RdmaAckCallerFn bcastFn, RdmaAckCallerFn bcastArrayFn)
void CmiIssueRget (NcpyOperationInfo *ncpyOpInfo)
void CmiIssueRput (NcpyOperationInfo *ncpyOpInfo)
void CmiDeregisterMem (const void *ptr, void *info, int pe, unsigned short int mode)
void CmiIssueRgetUsingCMA (const void *srcAddr, void *srcInfo, int srcPe, const void *destAddr, void *destInfo, int destPe, int size)
void CmiIssueRputUsingCMA (const void *destAddr, void *destInfo, int destPe, const void *srcAddr, void *srcInfo, int srcPe, int size)
void * CmiRdmaAlloc (int size)
int CmiDoesCMAWork (void)
void CmiInvokeRemoteAckHandler (int pe, void *ref)
void CmiInvokeBcastAckHandler (int pe, void *ref)
void CmiInvokeBcastPostAckHandler (int pe, void *ref)
void CmiOnesidedDirectInit (void)
void CmiForwardProcBcastMsg (int size, char *msg)
void CmiForwardNodeBcastMsg (int size, char *msg)
void CmiForwardMsgToPeers (int size, char *msg)
void CmiInvokeRemoteDeregAckHandler (int pe, NcpyOperationInfo *info)


Typedef Documentation

typedef void(* RdmaEMAckCallerFn)(int destPe, void *token)

Definition at line 6 of file conv-rdma.h.

typedef void(* RdmaAckCallerFn)(void *token)

Definition at line 7 of file conv-rdma.h.


Function Documentation

void CmiSetRdmaCommonInfo ( void *  info,
const void *  ptr,
int  size 
)

Definition at line 8 of file conv-rdma.C.

References _cmi_common_rdma_info::pid.

Referenced by CkNcpyBuffer::registerMem().

Here is the caller graph for this function:

int CmiGetRdmaCommonInfoSize ( void   ) 

void CmiSetRdmaBufferInfo ( void *  info,
const void *  ptr,
int  size,
unsigned short int  mode 
)

Definition at line 120 of file conv-rdma.C.

References LrtsSetRdmaBufferInfo().

Referenced by performEmApiCmaTransfer(), performEmApiRget(), CkNcpyBuffer::rdmaGet(), CkNcpyBuffer::rdmaPut(), and CkNcpyBuffer::registerMem().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSetDirectNcpyAckHandler ( RdmaAckCallerFn  fn  ) 

Definition at line 68 of file conv-rdma.C.

References ncpyDirectAckHandlerFn.

Referenced by _initCharm().

Here is the caller graph for this function:

void CmiSetEMNcpyAckHandler ( RdmaEMAckCallerFn  fn,
RdmaAckCallerFn  bcastFn,
RdmaAckCallerFn  bcastArrayFn 
)

Definition at line 176 of file conv-rdma.C.

References ncpyEMAckHandlerFn, ncpyEMBcastAckHandlerFn, and ncpyEMBcastPostAckHandlerFn.

Referenced by _initCharm().

Here is the caller graph for this function:

void CmiIssueRget ( NcpyOperationInfo ncpyOpInfo  ) 

Definition at line 72 of file conv-rdma.C.

References CmiAlloc(), CmiFree(), Converse::CmiSyncSendAndFree(), get_request_handler_idx, LrtsIssueRget(), and ncpystruct::ncpyOpInfoSize.

Referenced by performRgets(), CkNcpyBuffer::rdmaGet(), and readonlyGet().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiIssueRput ( NcpyOperationInfo ncpyOpInfo  ) 

Definition at line 91 of file conv-rdma.C.

References CmiAlloc(), Converse::CmiSyncSendAndFree(), LrtsIssueRput(), ncpyDirectAckHandlerFn, ncpystruct::ncpyOpInfoSize, put_data_handler_idx, size, and ncpystruct::srcSize.

Referenced by getRequestHandler(), and CkNcpyBuffer::rdmaPut().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiDeregisterMem ( const void *  ptr,
void *  info,
int  pe,
unsigned short int  mode 
)

Definition at line 122 of file conv-rdma.C.

References LrtsDeregisterMem().

Referenced by _roRdmaDoneHandler(), CkRdmaEMAckHandler(), CkNcpyBuffer::deregisterMem(), deregisterMemFromMsg(), handleReverseEntryMethodApiCompletion(), readonlyGet(), and readonlyGetCompleted().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiIssueRgetUsingCMA ( const void *  srcAddr,
void *  srcInfo,
int  srcPe,
const void *  destAddr,
void *  destInfo,
int  destPe,
int  size 
)

Definition at line 35 of file machine-rdma.h.

References _cmi_common_rdma_info::pid, and readShmCma().

Referenced by CkNcpyBuffer::cmaGet().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiIssueRputUsingCMA ( const void *  destAddr,
void *  destInfo,
int  destPe,
const void *  srcAddr,
void *  srcInfo,
int  srcPe,
int  size 
)

Definition at line 60 of file machine-rdma.h.

References _cmi_common_rdma_info::pid, and writeShmCma().

Referenced by CkNcpyBuffer::cmaPut().

Here is the call graph for this function:

Here is the caller graph for this function:

int CmiDoesCMAWork ( void   ) 

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

References cma_works.

Referenced by findTransferMode().

Here is the caller graph for this function:

void CmiInvokeRemoteAckHandler ( int  pe,
void *  ref 
)

Definition at line 160 of file conv-rdma.C.

References CmiAlloc(), Converse::CmiSyncSendAndFree(), invoke_entry_method_ack_handler_idx, msg, and _ackEntryMethodMsg::ref.

Referenced by handleBcastReverseEntryMethodApiCompletion(), and handleReverseEntryMethodApiCompletion().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiInvokeBcastAckHandler ( int  pe,
void *  ref 
)

Definition at line 187 of file conv-rdma.C.

References CmiAlloc(), Converse::CmiSyncSendAndFree(), msg, ncpy_bcast_ack_handler_idx, and _ackEntryMethodMsg::ref.

Referenced by CkRdmaEMBcastAckHandler(), handleMsgUsingCMAPostCompletionForSendBcast(), and sendAckMsgToParent().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiInvokeBcastPostAckHandler ( int  pe,
void *  ref 
)

Definition at line 196 of file conv-rdma.C.

References CmiAlloc(), Converse::CmiSyncSendAndFree(), msg, ncpy_bcast_post_handler_idx, and _ackEntryMethodMsg::ref.

Referenced by processBcastRecvEmApiCompletion().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiOnesidedDirectInit ( void   ) 

Definition at line 63 of file conv-rdma.C.

References CmiRegisterHandler(), get_request_handler_idx, getRequestHandler(), put_data_handler_idx, and putDataHandler().

Referenced by ConverseCommonInit().

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 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:

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:

void CmiInvokeRemoteDeregAckHandler ( int  pe,
NcpyOperationInfo info 
)

Definition at line 144 of file machine-rdma.h.

References LrtsInvokeRemoteDeregAckHandler().

Referenced by handleEntryMethodApiCompletion().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:00:34 2020 for Charm++ by  doxygen 1.5.5