PPL Logo

conv-core/conv-cpath.h File Reference

Go to the source code of this file.

Data Structures

struct  CPath

Typedefs

typedef unsigned int(* CPathMapFn )(CPath *path, int *indices)
typedef void(* CPathReduceFn )(int nelts, void *updateme, void *inputme)

Functions

void CPathMakeArray (CPath *path, int startfn, int mapfn,...)
void CPathMakeThread (CPath *path, int startfn, int pe)
void CPathSend (int key,...)
void * CPathRecv (int key,...)
void CPathReduce (int key,...)
void CPathMsgDecodeBytes (void *msg, int *len, void *bytes)
void CPathMsgDecodeReduction (void *msg, int *vecsize, int *eltsize, void *bytes)
void CPathMsgFree (void *msg)


Typedef Documentation

typedef unsigned int(* CPathMapFn)(CPath *path, int *indices)

Definition at line 27 of file conv-cpath.h.

typedef void(* CPathReduceFn)(int nelts, void *updateme, void *inputme)

Definition at line 28 of file conv-cpath.h.


Function Documentation

void CPathMakeArray ( CPath path,
int  startfn,
int  mapfn,
  ... 
)

Definition at line 545 of file cpath.C.

References CmiError(), CmiMyPe(), CPath::creator, CPath::mapfn, CPath::nsizes, p, CPath::seqno, size, CPath::sizes, and CPath::startfn.

Here is the call graph for this function:

void CPathMakeThread ( CPath path,
int  startfn,
int  pe 
)

void CPathSend ( int  key,
  ... 
)

Definition at line 347 of file cpath.C.

References buf, bufalloc(), CmiAlloc(), CmiError(), Converse::CmiSyncSendAndFree(), CPathEltnoToIndices(), CPathRoot(), buffer::data, reduction::eltsize, buffer::fill, idx, CPath::nsizes, reduction::ntags, p, root, buffer::size, size, CPath::sizes, src, tags, and reduction::vecsize.

Referenced by CPathForwardReduction().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CPathRecv ( int  key,
  ... 
)

Definition at line 467 of file cpath.C.

References CmiError(), CthSuspend(), single::mm, msg, reduction::ntags, p, PUP::t, tags, and single::waiting.

Here is the call graph for this function:

void CPathReduce ( int  key,
  ... 
)

void CPathMsgDecodeBytes ( void *  msg,
int len,
void *  bytes 
)

Definition at line 509 of file cpath.C.

References CPath::nsizes, reduction::ntags, and tags.

void CPathMsgDecodeReduction ( void *  msg,
int vecsize,
int eltsize,
void *  bytes 
)

Definition at line 521 of file cpath.C.

References CPath::nsizes, reduction::ntags, size, and tags.

void CPathMsgFree ( void *  msg  ) 

Definition at line 535 of file cpath.C.

References CmiFree().

Here is the call graph for this function:


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