
#include <ampiimpl.h>

Public Member Functions | |
| void | setName (const char *src, int len) |
| void | getName (char *src, int *len) |
| void | pup (PUP::er &p) |
| win_obj () | |
| win_obj (char *name, void *base, MPI_Aint size, int disp_unit, MPI_Comm comm) | |
| ~win_obj () | |
| int | create (char *name, void *base, MPI_Aint size, int disp_unit, MPI_Comm comm) |
| int | free () |
| int | put (void *orgaddr, int orgcnt, int orgunit, MPI_Aint targdisp, int targcnt, int targunit) |
| int | get (void *orgaddr, int orgcnt, int orgunit, MPI_Aint targdisp, int targcnt, int targunit) |
| int | accumulate (void *orgaddr, int orgcnt, MPI_Datatype orgtype, MPI_Aint targdisp, int targcnt, MPI_Datatype targtype, MPI_Op op) |
| int | iget (int orgcnt, MPI_Datatype orgtype, MPI_Aint targdisp, int targcnt, MPI_Datatype targtype) |
| int | igetWait (MPI_Request *req, MPI_Status *status) |
| int | igetFree (MPI_Request *req, MPI_Status *status) |
| int | fence () |
| int | lock (int requestRank, int pe_src, int ftHandle, int lock_type) |
| int | unlock (int requestRank, int pe_src, int ftHandle) |
| int | wait () |
| int | post () |
| int | start () |
| int | complete () |
| void | lockTopQueue () |
| void | enqueue (int requestRank, int pe_src, int ftHandle, int lock_type) |
| void | dequeue () |
| bool | emptyQueue () |
Data Fields | |
| char * | winName |
| int | winNameLeng |
| int | initflag |
| void * | baseAddr |
| MPI_Aint | winSize |
| int | disp_unit |
| MPI_Comm | comm |
| int | owner |
| LockQueue | lockQueue |
Definition at line 137 of file ampiimpl.h.
| win_obj::win_obj | ( | ) |
Definition at line 17 of file ampiOneSided.C.
References baseAddr, comm, initflag, MPI_COMM_NULL, winName, and winNameLeng.
| win_obj::~win_obj | ( | ) |
| void win_obj::setName | ( | const char * | src, | |
| int | len | |||
| ) |
Definition at line 33 of file ampiOneSided.C.
References winName, and winNameLeng.
Referenced by ampi::winSetName().
| void win_obj::getName | ( | char * | src, | |
| int * | len | |||
| ) |
Definition at line 41 of file ampiOneSided.C.
References winName, and winNameLeng.
Referenced by ampi::winGetName().
| void win_obj::pup | ( | PUP::er & | p | ) |
| int win_obj::free | ( | ) |
Definition at line 90 of file ampiOneSided.C.
References initflag, and winName.
Referenced by ampi::deleteWinInstance(), and ~win_obj().
| int win_obj::put | ( | void * | orgaddr, | |
| int | orgcnt, | |||
| int | orgunit, | |||
| MPI_Aint | targdisp, | |||
| int | targcnt, | |||
| int | targunit | |||
| ) |
Definition at line 101 of file ampiOneSided.C.
References initflag, and winSize.
Referenced by ampi::winRemotePut().
| int win_obj::get | ( | void * | orgaddr, | |
| int | orgcnt, | |||
| int | orgunit, | |||
| MPI_Aint | targdisp, | |||
| int | targcnt, | |||
| int | targunit | |||
| ) |
Definition at line 116 of file ampiOneSided.C.
References initflag, and winSize.
Referenced by ampi::winRemoteGet().
| int win_obj::accumulate | ( | void * | orgaddr, | |
| int | orgcnt, | |||
| MPI_Datatype | orgtype, | |||
| MPI_Aint | targdisp, | |||
| int | targcnt, | |||
| MPI_Datatype | targtype, | |||
| MPI_Op | op | |||
| ) |
Definition at line 149 of file ampiOneSided.C.
References applyOp(), and baseAddr.
Referenced by ampi::winRemoteAccumulate().
| int win_obj::iget | ( | int | orgcnt, | |
| MPI_Datatype | orgtype, | |||
| MPI_Aint | targdisp, | |||
| int | targcnt, | |||
| MPI_Datatype | targtype | |||
| ) |
Referenced by ampi::winRemoteIGet().
| int win_obj::igetWait | ( | MPI_Request * | req, | |
| MPI_Status * | status | |||
| ) |
| int win_obj::igetFree | ( | MPI_Request * | req, | |
| MPI_Status * | status | |||
| ) |
| int win_obj::fence | ( | ) |
Definition at line 156 of file ampiOneSided.C.
Definition at line 160 of file ampiOneSided.C.
References CkSendToFutureID(), comm, msg, and owner.
Referenced by lockTopQueue(), and ampi::winRemoteLock().
Definition at line 171 of file ampiOneSided.C.
References CkSendToFutureID(), comm, dequeue(), msg, and owner.
Referenced by ampi::winRemoteUnlock().
| int win_obj::wait | ( | void | ) |
Definition at line 209 of file ampiOneSided.C.
| int win_obj::post | ( | ) |
Definition at line 212 of file ampiOneSided.C.
| int win_obj::start | ( | ) |
Definition at line 215 of file ampiOneSided.C.
| int win_obj::complete | ( | ) |
Definition at line 218 of file ampiOneSided.C.
| void win_obj::lockTopQueue | ( | ) |
Definition at line 202 of file ampiOneSided.C.
References CkQ< T >::deq(), lockQueueEntry::ftHandle, CkQ< T >::insert(), lock(), lockQueueEntry::lock_type, lockQueue, lockQueueEntry::pe_src, and lockQueueEntry::requestRank.
Referenced by ampi::winRemoteUnlock().
Definition at line 193 of file ampiOneSided.C.
References CkQ< T >::enq(), and lockQueue.
Referenced by ampi::winRemoteLock().
| void win_obj::dequeue | ( | ) |
Definition at line 188 of file ampiOneSided.C.
References CkQ< T >::deq(), and lockQueue.
Referenced by unlock().
| bool win_obj::emptyQueue | ( | ) |
Definition at line 198 of file ampiOneSided.C.
References CkQ< T >::length(), and lockQueue.
Referenced by ampi::winRemoteLock(), and ampi::winRemoteUnlock().
| char* win_obj::winName |
| void* win_obj::baseAddr |
Definition at line 143 of file ampiimpl.h.
Referenced by accumulate(), create(), pup(), win_obj(), ampi::winRemoteGet(), ampi::winRemoteIGet(), and ampi::winRemotePut().
Definition at line 148 of file ampiimpl.h.
Referenced by lock(), unlock(), win_obj(), and ampi::winRemoteLock().
Definition at line 149 of file ampiimpl.h.
Referenced by dequeue(), emptyQueue(), enqueue(), and lockTopQueue().
1.5.5