#include <ckarray.h>
Public Member Functions | |
CProxy_ArrayBase () | |
CProxy_ArrayBase (const CkArrayID &aid, CK_DELCTOR_PARAM) | |
CProxy_ArrayBase (const CkArrayID &aid) | |
CProxy_ArrayBase (const ArrayElement *e) | |
CProxy_ArrayBase (const CProxy_ArrayBase &cs) | |
bool | operator== (const CProxy_ArrayBase &other) |
void | ckCheck (void) const |
void | ckCheck (void) const |
void | ckInsertIdx (CkArrayMessage *m, int ctor, int onPe, const CkArrayIndex &idx) |
void | ckBroadcast (CkArrayMessage *m, int ep, int opts=0) const |
CkArrayID | ckGetArrayID (void) const |
CkArray * | ckLocalBranch (void) const |
CkLocMgr * | ckLocMgr (void) const |
operator CkArrayID () const | |
unsigned int | numLocalElements () const |
void | doneInserting (void) |
void | beginInserting (void) |
CK_REDUCTION_CLIENT_DECL void | pup (PUP::er &p) |
Pup the data for this proxy. Only needed for delegated proxies. | |
Static Public Member Functions | |
static CkArrayID | ckCreateEmptyArray (CkArrayOptions opts) |
static void | ckCreateEmptyArrayAsync (CkCallback cb, CkArrayOptions opts) |
static CkArrayID | ckCreateArray (CkArrayMessage *m, int ctor, const CkArrayOptions &opts) |
Private Attributes | |
CkArrayID | _aid |
This makes the translator's job simpler, and the translated code smaller.
Definition at line 105 of file ckarray.h.
CProxy_ArrayBase::CProxy_ArrayBase | ( | ) | [inline] |
Definition at line 109 of file ckarray.h.
References _aid, and CkArrayID::setZero().
Referenced by PUPmarshall().
CProxy_ArrayBase::CProxy_ArrayBase | ( | const CkArrayID & | aid, | |
CK_DELCTOR_PARAM | ||||
) | [inline] |
CProxy_ArrayBase::CProxy_ArrayBase | ( | const CkArrayID & | aid | ) | [inline] |
CProxy_ArrayBase::CProxy_ArrayBase | ( | const ArrayElement * | e | ) |
CProxy_ArrayBase::CProxy_ArrayBase | ( | const CProxy_ArrayBase & | cs | ) | [inline] |
bool CProxy_ArrayBase::operator== | ( | const CProxy_ArrayBase & | other | ) | [inline] |
Definition at line 121 of file ckarray.h.
References ckGetArrayID().
void CProxy_ArrayBase::ckCheck | ( | void | ) | const [inline] |
Definition at line 126 of file ckarray.h.
References _aid, and CkArrayID::isZero().
CkArrayID CProxy_ArrayBase::ckCreateEmptyArray | ( | CkArrayOptions | opts | ) | [static] |
Definition at line 672 of file ckarray.C.
References CkAllocSysMsg(), and ckCreateArray().
void CProxy_ArrayBase::ckCreateEmptyArrayAsync | ( | CkCallback | cb, | |
CkArrayOptions | opts | |||
) | [static] |
Definition at line 677 of file ckarray.C.
References CkAllocSysMsg(), and CkSendAsyncCreateArray().
CkArrayID CProxy_ArrayBase::ckCreateArray | ( | CkArrayMessage * | m, | |
int | ctor, | |||
const CkArrayOptions & | opts | |||
) | [static] |
Definition at line 666 of file ckarray.C.
Referenced by ckCreateEmptyArray().
void CProxy_ArrayBase::ckInsertIdx | ( | CkArrayMessage * | m, | |
int | ctor, | |||
int | onPe, | |||
const CkArrayIndex & | idx | |||
) |
Definition at line 703 of file ckarray.C.
References CkInsertIdxMsg::_aid, CkArrayMessage::array_ep(), CkDelegateMgr::ArrayCreate(), CkAllocSysMsg(), CProxy::ckDelegatedPtr(), CProxy::ckDelegatedTo(), CProxy::ckIsDelegated(), ckLocalBranch(), CmiAlloc(), CkInsertIdxMsg::ctor, CkArray::findInitialHostPe(), CkInsertIdxMsg::idx, idx2str(), lookupGroupAndBufferIfNotThere(), CkInsertIdxMsg::m, msg, CkInsertIdxMsg::onPe, and CkArray::prepareCtorMsg().
Referenced by ckinsertIdxFunc().
void CProxy_ArrayBase::ckBroadcast | ( | CkArrayMessage * | m, | |
int | ep, | |||
int | opts = 0 | |||
) | const |
Definition at line 1414 of file ckarray.C.
References CkArrayMessage::array_ep_bcast(), CkDelegateMgr::ArrayBroadcast(), CProxy::ckDelegatedPtr(), CProxy::ckDelegatedTo(), CProxy::ckIsDelegated(), Converse::CkMyPe(), ForBocMsg, envelope::setMsgtype(), and UsrToEnv().
Referenced by CkDelegateMgr::ArrayBroadcast(), and CkBroadcastMsgArray().
CkArrayID CProxy_ArrayBase::ckGetArrayID | ( | void | ) | const [inline] |
Definition at line 140 of file ckarray.h.
References _aid.
Referenced by ControlPoint::ControlPointAssociatedArray::ControlPointAssociatedArray(), operator CkArrayID(), and operator==().
CkArray* CProxy_ArrayBase::ckLocalBranch | ( | void | ) | const [inline] |
Definition at line 141 of file ckarray.h.
References _aid, and CkArrayID::ckLocalBranch().
Referenced by ckInsertIdx(), and ckLocMgr().
CkLocMgr * CProxy_ArrayBase::ckLocMgr | ( | void | ) | const |
Definition at line 621 of file ckarray.C.
References ckLocalBranch(), and CkArray::getLocMgr().
Referenced by numLocalElements().
CProxy_ArrayBase::operator CkArrayID | ( | ) | const [inline] |
Definition at line 143 of file ckarray.h.
References ckGetArrayID().
unsigned int CProxy_ArrayBase::numLocalElements | ( | ) | const [inline] |
Definition at line 144 of file ckarray.h.
References ckLocMgr(), and CkLocMgr::numLocalElements().
void CProxy_ArrayBase::pup | ( | PUP::er & | p | ) |
Pup the data for this proxy. Only needed for delegated proxies.
Reimplemented from CProxy.
Definition at line 746 of file ckarray.C.
References CkArrayID::pup(), and CProxy::pup().
Referenced by PUPmarshall().
CkArrayID CProxy_ArrayBase::_aid [private] |
Definition at line 107 of file ckarray.h.
Referenced by ckCheck(), ckGetArrayID(), ckLocalBranch(), and CProxy_ArrayBase().