DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
Loading...
Searching...
No Matches
DisCosTiC::Grid_Init Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Grid_Init()

DisCosTiC::Grid_Init::Grid_Init ( DisCosTiC_Datatype num_ranks_,
DisCosTiC_Datatype num_operations_,
Benchmark benchmark,
DisCosTiC::idNodeTypePair ID )
inline

constructor that initializes the variables.

Parameters
binaryfile 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:

◆ ~Grid_Init()

DisCosTiC::Grid_Init::~Grid_Init ( )
inline

destructor

Definition at line 58 of file GridInit.hpp.

Member Data Documentation

◆ graphVec

DisCosTiC::VecSeqGraph_t DisCosTiC::Grid_Init::graphVec

public variables

Definition at line 31 of file GridInit.hpp.

Referenced by Grid_Init(), and main().

◆ num_operations

DisCosTiC_Datatype DisCosTiC::Grid_Init::num_operations
private

Definition at line 27 of file GridInit.hpp.

Referenced by Grid_Init().

◆ num_ranks

DisCosTiC_Datatype DisCosTiC::Grid_Init::num_ranks
private

private variables

Definition at line 26 of file GridInit.hpp.

Referenced by Grid_Init().


The documentation for this class was generated from the following file: