|
DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
|
this class exposes all P graphVec and manages dependencies and execution order. It returns a list of executable operations and offers an interface to mark operations as executed. More...
#include <GridInit.hpp>
Public Member Functions | |
| Grid_Init (DisCosTiC_Datatype num_ranks_, DisCosTiC_Datatype num_operations_, Benchmark benchmark, DisCosTiC::idNodeTypePair ID) | |
| constructor that initializes the variables. | |
| ~Grid_Init () | |
| destructor | |
Public Attributes | |
| DisCosTiC::VecSeqGraph_t | graphVec |
| public variables | |
Private Attributes | |
| DisCosTiC_Datatype | num_ranks |
| private variables | |
| DisCosTiC_Datatype | num_operations |
this class exposes all P graphVec and manages dependencies and execution order. It returns a list of executable operations and offers an interface to mark operations as executed.
Definition at line 23 of file GridInit.hpp.
|
inline |
constructor that initializes the variables.
| binary | file name |
get root nodes of type DisCosTiC::AST_OP_TYPE (i.e., exec in our case ) and other info of all ranks
Definition at line 36 of file GridInit.hpp.
References DisCosTiC::Grid::getOp(), DisCosTiC::getRange(), graphVec, DisCosTiC::Grid::myRank, DisCosTiC::Grid::Nodes, num_operations, num_ranks, DisCosTiC::Grid::numOps, and DisCosTiC::Grid::numRanks.
Here is the call graph for this function:
|
inline |
destructor
Definition at line 58 of file GridInit.hpp.
| DisCosTiC::VecSeqGraph_t DisCosTiC::Grid_Init::graphVec |
|
private |
Definition at line 27 of file GridInit.hpp.
Referenced by Grid_Init().
|
private |