PPL Logo

arch/util/machine-cma.C File Reference

Go to the source code of this file.

Data Structures

struct  _cma_src_buffer_info

Typedefs

typedef struct _cma_src_buffer_info CmaSrcBufferInfo_t

Functions

int CmiInitCma ()
void CmiDisplayCMAThresholds (int cma_min_threshold, int cma_max_threshold)
int readShmCma (pid_t remote_pid, struct iovec *local, struct iovec *remote, int numOps, size_t total_bytes)
int writeShmCma (pid_t remote_pid, struct iovec *local, struct iovec *remote, int numOps, size_t total_bytes)
void handleOneCmaMdMsg (int *sizePtr, char **msgPtr)
void handleOneCmaAckMsg (int size, void *msg)
void CmiSendMessageCma (char **msgPtr, int *sizePtr)


Typedef Documentation


Function Documentation

int CmiInitCma (  ) 

Definition at line 7 of file machine-cma.C.

References Ck::IO::close(), cma_works, CmiAbort(), fd, and Ck::IO::open().

Referenced by ConverseInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiDisplayCMAThresholds ( int  cma_min_threshold,
int  cma_max_threshold 
)

Definition at line 36 of file machine-cma.C.

References _Cmi_mynode, CmiAbort(), and CmiPrintf().

Referenced by ConverseInit().

Here is the call graph for this function:

Here is the caller graph for this function:

int readShmCma ( pid_t  remote_pid,
struct iovec *  local,
struct iovec *  remote,
int  numOps,
size_t  total_bytes 
)

Definition at line 48 of file machine-cma.C.

References CmiAbort().

Referenced by CmiIssueRgetUsingCMA(), and handleOneCmaMdMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

int writeShmCma ( pid_t  remote_pid,
struct iovec *  local,
struct iovec *  remote,
int  numOps,
size_t  total_bytes 
)

Definition at line 66 of file machine-cma.C.

References CmiAbort().

Referenced by CmiIssueRputUsingCMA().

Here is the call graph for this function:

Here is the caller graph for this function:

void handleOneCmaMdMsg ( int sizePtr,
char **  msgPtr 
)

Definition at line 92 of file machine-cma.C.

References CmiAlloc(), CmiInterSendNetworkFunc(), CMK_CMA_ACK_MSG, readShmCma(), _cma_src_buffer_info::size, _cma_src_buffer_info::srcAddr, _cma_src_buffer_info::srcPE, and _cma_src_buffer_info::srcPid.

Referenced by handleOneRecvedMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void handleOneCmaAckMsg ( int  size,
void *  msg 
)

Definition at line 134 of file machine-cma.C.

References CmiFree(), and _cma_src_buffer_info::srcAddr.

Referenced by handleOneRecvedMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSendMessageCma ( char **  msgPtr,
int sizePtr 
)

Definition at line 149 of file machine-cma.C.

References CmiAlloc(), CmiMyPe(), CMK_CMA_MD_MSG, _cma_src_buffer_info::size, _cma_src_buffer_info::srcAddr, _cma_src_buffer_info::srcPE, and _cma_src_buffer_info::srcPid.

Referenced by CmiInterSendNetworkFunc().

Here is the call graph for this function:

Here is the caller graph for this function:


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