
#include <ampiimpl.h>

Public Member Functions | |
| ampiCommStruct (int ignored=0) | |
| ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, int size_) | |
| ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, int size_, const CkVec< int > &indices_) | |
| ampiCommStruct (MPI_Comm comm_, const CkArrayID &id_, int size_, const CkVec< int > &indices_, const CkVec< int > &remoteIndices_) | |
| void | setArrayID (const CkArrayID &nID) |
| MPI_Comm | getComm (void) const |
| const CkVec< int > & | getIndices (void) const |
| const CkVec< int > & | getRemoteIndices (void) const |
| CkVec< void * > & | getKeyvals (void) |
| CProxy_ampi | getProxy (void) const |
| int | getIndexForRank (int r) const |
| int | getIndexForRemoteRank (int r) const |
| int | getRankForIndex (int i) const |
| int | getSize (void) const |
| int | isinter (void) const |
| const CkVec< int > & | getindices () const |
| const CkVec< int > & | getdims () const |
| const CkVec< int > & | getperiods () const |
| int | getndims () |
| void | setndims (int ndims_) |
| void | setdims (const CkVec< int > &dims_) |
| void | setperiods (const CkVec< int > &periods_) |
| int | getnvertices () |
| const CkVec< int > & | getindex () const |
| const CkVec< int > & | getedges () const |
| void | setnvertices (int nvertices_) |
| void | setindex (const CkVec< int > &index_) |
| void | setedges (const CkVec< int > &edges_) |
| void | pup (PUP::er &p) |
Private Member Functions | |
| void | makeWorldIndices (void) const |
Private Attributes | |
| MPI_Comm | comm |
| CkArrayID | ampiID |
| int | size |
| int | isWorld |
| int | isInter |
| CkVec< int > | indices |
| CkVec< int > | remoteIndices |
| int | ndims |
| CkVec< int > | dims |
| CkVec< int > | periods |
| CkVec< void * > | keyvals |
| int | nvertices |
| CkVec< int > | index |
| CkVec< int > | edges |
Definition at line 240 of file ampiimpl.h.
| ampiCommStruct::ampiCommStruct | ( | int | ignored = 0 |
) | [inline] |
Definition at line 269 of file ampiimpl.h.
| ampiCommStruct::ampiCommStruct | ( | MPI_Comm | comm_, | |
| const CkArrayID & | id_, | |||
| int | size_, | |||
| const CkVec< int > & | indices_ | |||
| ) | [inline] |
Definition at line 271 of file ampiimpl.h.
| ampiCommStruct::ampiCommStruct | ( | MPI_Comm | comm_, | |
| const CkArrayID & | id_, | |||
| int | size_, | |||
| const CkVec< int > & | indices_, | |||
| const CkVec< int > & | remoteIndices_ | |||
| ) | [inline] |
Definition at line 275 of file ampiimpl.h.
| void ampiCommStruct::makeWorldIndices | ( | void | ) | const [inline, private] |
Definition at line 262 of file ampiimpl.h.
References indices, CkVec< T >::push_back(), and size.
Referenced by getindices(), and getIndices().
| void ampiCommStruct::setArrayID | ( | const CkArrayID & | nID | ) | [inline] |
| MPI_Comm ampiCommStruct::getComm | ( | void | ) | const [inline] |
Definition at line 282 of file ampiimpl.h.
References comm.
Referenced by ampi::Alltoall_RemoteIGet(), ampiParent::cartChildRegister(), ampiParent::comm2group(), ampi::createWinInstance(), ampi::getComm(), ampiParent::graphChildRegister(), ampiParent::groupChildRegister(), ampiParent::interChildRegister(), ampiParent::intraChildRegister(), ampiParent::lookupComm(), ampi::recv(), ampiParent::registerAmpi(), ampi::send(), ampiParent::splitChildRegister(), ampi::winRemoteAccumulate(), ampi::winRemoteGet(), ampi::winRemoteIGet(), and ampi::winRemotePut().
Definition at line 283 of file ampiimpl.h.
References indices, isWorld, makeWorldIndices(), size, and CkVec< T >::size().
Referenced by ampiParent::group2vec(), ampi::intercommCreatePhase1(), and ampi::intercommMerge().
Definition at line 287 of file ampiimpl.h.
References remoteIndices.
Referenced by ampiParent::getRemoteSize(), and ampi::intercommMerge().
| CkVec<void *>& ampiCommStruct::getKeyvals | ( | void | ) | [inline] |
Definition at line 288 of file ampiimpl.h.
References keyvals.
Referenced by ampiParent::getAttr(), and ampiParent::putAttr().
| CProxy_ampi ampiCommStruct::getProxy | ( | void | ) | const |
Definition at line 294 of file ampiimpl.h.
References indices, isWorld, and size.
Referenced by AMPI_Ireduce(), AMPI_Reduce(), ampi::bcast(), ampi::delesend(), ampi::getIndexForRank(), ampi::intercommMerge(), ampi::split(), and ampi::splitPhase1().
Definition at line 301 of file ampiimpl.h.
References isWorld, remoteIndices, and CkVec< T >::size().
Referenced by ampi::delesend(), ampi::getIndexForRemoteRank(), and ampi::recv().
Definition at line 309 of file ampiimpl.h.
References indices, isWorld, and CkVec< T >::size().
Referenced by ampi::ampi().
| int ampiCommStruct::getSize | ( | void | ) | const [inline] |
Definition at line 318 of file ampiimpl.h.
References size.
Referenced by ampi::getSize(), and ampi::splitPhase1().
| int ampiCommStruct::isinter | ( | void | ) | const [inline] |
Definition at line 321 of file ampiimpl.h.
References indices, isWorld, makeWorldIndices(), size, and CkVec< T >::size().
Referenced by ampi::getIndices().
Definition at line 325 of file ampiimpl.h.
References dims.
Referenced by AMPI_Cart_coords(), AMPI_Cart_get(), AMPI_Cart_rank(), AMPI_Cart_shift(), and AMPI_Cart_sub().
Definition at line 326 of file ampiimpl.h.
References periods.
Referenced by AMPI_Cart_get(), AMPI_Cart_rank(), AMPI_Cart_shift(), and AMPI_Cart_sub().
| int ampiCommStruct::getndims | ( | ) | [inline] |
Definition at line 328 of file ampiimpl.h.
References ndims.
Referenced by AMPI_Cart_coords(), AMPI_Cart_get(), AMPI_Cart_rank(), AMPI_Cart_shift(), AMPI_Cart_sub(), and AMPI_Cartdim_get().
| void ampiCommStruct::setndims | ( | int | ndims_ | ) | [inline] |
Definition at line 329 of file ampiimpl.h.
References ndims.
Referenced by AMPI_Cart_create(), and AMPI_Cart_sub().
Definition at line 330 of file ampiimpl.h.
References dims.
Referenced by AMPI_Cart_create(), and AMPI_Cart_sub().
Definition at line 331 of file ampiimpl.h.
References periods.
Referenced by AMPI_Cart_create(), and AMPI_Cart_sub().
| int ampiCommStruct::getnvertices | ( | ) | [inline] |
Definition at line 334 of file ampiimpl.h.
References nvertices.
Referenced by AMPI_Graphdims_get().
Definition at line 335 of file ampiimpl.h.
References index.
Referenced by AMPI_Graph_get(), AMPI_Graph_neighbors(), AMPI_Graph_neighbors_count(), and AMPI_Graphdims_get().
Definition at line 336 of file ampiimpl.h.
References edges.
Referenced by AMPI_Graph_get(), and AMPI_Graph_neighbors().
| void ampiCommStruct::setnvertices | ( | int | nvertices_ | ) | [inline] |
| void ampiCommStruct::pup | ( | PUP::er & | p | ) | [inline] |
MPI_Comm ampiCommStruct::comm [private] |
CkArrayID ampiCommStruct::ampiID [private] |
int ampiCommStruct::size [private] |
Definition at line 243 of file ampiimpl.h.
Referenced by ampiCommStruct(), getIndexForRank(), getindices(), getIndices(), getSize(), makeWorldIndices(), and pup().
int ampiCommStruct::isWorld [private] |
Definition at line 244 of file ampiimpl.h.
Referenced by ampiCommStruct(), getIndexForRank(), getIndexForRemoteRank(), getindices(), getIndices(), getRankForIndex(), and pup().
int ampiCommStruct::isInter [private] |
CkVec<int> ampiCommStruct::indices [private] |
Definition at line 246 of file ampiimpl.h.
Referenced by getIndexForRank(), getindices(), getIndices(), getRankForIndex(), makeWorldIndices(), and pup().
CkVec<int> ampiCommStruct::remoteIndices [private] |
Definition at line 247 of file ampiimpl.h.
Referenced by getIndexForRemoteRank(), getRemoteIndices(), and pup().
int ampiCommStruct::ndims [private] |
CkVec<int> ampiCommStruct::dims [private] |
CkVec<int> ampiCommStruct::periods [private] |
CkVec<void *> ampiCommStruct::keyvals [private] |
int ampiCommStruct::nvertices [private] |
CkVec<int> ampiCommStruct::index [private] |
CkVec<int> ampiCommStruct::edges [private] |
1.5.5