#include <ampiimpl.h>
Public Member Functions | |
void | setName (const char *src) noexcept |
void | getName (char *src, int *len) noexcept |
void | pup (PUP::er &p) noexcept |
win_obj () noexcept | |
win_obj (const char *name, void *base, MPI_Aint size, int disp_unit, MPI_Comm comm) noexcept | |
~win_obj () noexcept | |
int | create (const char *name, void *base, MPI_Aint size, int disp_unit, MPI_Comm comm) noexcept |
int | free () noexcept |
vector< int > & | getKeyvals () |
int | put (void *orgaddr, int orgcnt, int orgunit, MPI_Aint targdisp, int targcnt, int targunit) noexcept |
int | get (void *orgaddr, int orgcnt, int orgunit, MPI_Aint targdisp, int targcnt, int targunit) noexcept |
int | accumulate (void *orgaddr, int count, MPI_Aint targdisp, MPI_Datatype targtype, MPI_Op op, ampiParent *pptr) noexcept |
int | iget (int orgcnt, MPI_Datatype orgtype, MPI_Aint targdisp, int targcnt, MPI_Datatype targtype) noexcept |
int | igetWait (MPI_Request *req, MPI_Status *status) noexcept |
int | igetFree (MPI_Request *req, MPI_Status *status) noexcept |
int | fence () noexcept |
int | lock (int requestRank, int lock_type) noexcept |
int | unlock (int requestRank) noexcept |
int | wait () noexcept |
int | post () noexcept |
int | start () noexcept |
int | complete () noexcept |
void | lockTopQueue () noexcept |
void | enqueue (int requestRank, int lock_type) noexcept |
void | dequeue () noexcept |
bool | emptyQueue () noexcept |
Data Fields | |
void * | baseAddr |
MPI_Aint | winSize |
int | disp_unit |
MPI_Comm | comm |
int | owner |
LockQueue | lockQueue |
std::string | winName |
bool | initflag |
vector< int > | keyvals |
Definition at line 329 of file ampiimpl.h.
win_obj::win_obj | ( | ) |
win_obj::~win_obj | ( | ) |
Definition at line 41 of file ampiOneSided.C.
References free().
void win_obj::setName | ( | const char * | src | ) |
Definition at line 31 of file ampiOneSided.C.
References CkDDT_SetName(), src, and winName.
Referenced by create().
void win_obj::getName | ( | char * | src, | |
int * | len | |||
) |
void win_obj::pup | ( | PUP::er & | p | ) |
int win_obj::free | ( | ) |
Definition at line 76 of file ampiOneSided.C.
References initflag.
Referenced by AMPI_API_IMPL(), and ~win_obj().
vector<int>& win_obj::getKeyvals | ( | ) | [inline] |
Definition at line 359 of file ampiimpl.h.
int win_obj::accumulate | ( | void * | orgaddr, | |
int | count, | |||
MPI_Aint | targdisp, | |||
MPI_Datatype | targtype, | |||
MPI_Op | op, | |||
ampiParent * | pptr | |||
) |
int win_obj::iget | ( | int | orgcnt, | |
MPI_Datatype | orgtype, | |||
MPI_Aint | targdisp, | |||
int | targcnt, | |||
MPI_Datatype | targtype | |||
) |
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 141 of file ampiOneSided.C.
Definition at line 145 of file ampiOneSided.C.
References owner.
Referenced by lockTopQueue().
Definition at line 150 of file ampiOneSided.C.
References dequeue(), and owner.
int win_obj::wait | ( | void | ) |
Definition at line 184 of file ampiOneSided.C.
int win_obj::post | ( | ) |
Definition at line 188 of file ampiOneSided.C.
int win_obj::start | ( | ) |
Definition at line 192 of file ampiOneSided.C.
int win_obj::complete | ( | ) |
Definition at line 196 of file ampiOneSided.C.
void win_obj::lockTopQueue | ( | ) |
Definition at line 177 of file ampiOneSided.C.
References CkQ< T >::deq(), CkQ< T >::insert(), lock(), lockQueueEntry::lock_type, lockQueue, and lockQueueEntry::requestRank.
Definition at line 168 of file ampiOneSided.C.
References CkQ< T >::enq(), lock_type, and lockQueue.
void win_obj::dequeue | ( | ) |
Definition at line 163 of file ampiOneSided.C.
References CkQ< T >::deq(), and lockQueue.
Referenced by unlock().
bool win_obj::emptyQueue | ( | ) |
Definition at line 173 of file ampiOneSided.C.
References CkQ< T >::length(), and lockQueue.
void* win_obj::baseAddr |
Definition at line 331 of file ampiimpl.h.
Referenced by accumulate(), create(), pup(), and win_obj().
Definition at line 333 of file ampiimpl.h.
Referenced by accumulate(), create(), pup(), and win_obj().
Definition at line 334 of file ampiimpl.h.
Referenced by AMPI_API_IMPL(), create(), pup(), and win_obj().
Definition at line 337 of file ampiimpl.h.
Referenced by dequeue(), emptyQueue(), enqueue(), and lockTopQueue().
std::string win_obj::winName |
vector<int> win_obj::keyvals |