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

#include <CollectiveModel.hpp>

Static Public Member Functions

static DisCosTiC_Timetype calculateBinomialTreeBroadcast (DisCosTiC_Datatype rank, DisCosTiC_Datatype root, DisCosTiC_Datatype numRanks, DisCosTiC_Datatype messageSize, DisCosTiC_Timetype L, DisCosTiC_Timetype o, DisCosTiC_Timetype g, DisCosTiC_Timetype G, DisCosTiC_Timetype inverse_bandwidth=0, DisCosTiC_Datatype eagerLimit=65535)
 
static DisCosTiC_Timetype calculateRingBroadcast (DisCosTiC_Datatype rank, DisCosTiC_Datatype root, DisCosTiC_Datatype numRanks, DisCosTiC_Datatype messageSize, DisCosTiC_Timetype L, DisCosTiC_Timetype o, DisCosTiC_Timetype g, DisCosTiC_Timetype G, DisCosTiC_Timetype inverse_bandwidth=0, DisCosTiC_Datatype eagerLimit=65535)
 
static DisCosTiC_Timetype calculateBinomialTreeReduce (DisCosTiC_Datatype rank, DisCosTiC_Datatype root, DisCosTiC_Datatype numRanks, DisCosTiC_Datatype messageSize, DisCosTiC_Timetype L, DisCosTiC_Timetype o, DisCosTiC_Timetype g, DisCosTiC_Timetype G, DisCosTiC_Timetype gamma=0, DisCosTiC_Timetype inverse_bandwidth=0, DisCosTiC_Datatype eagerLimit=65535)
 
static DisCosTiC_Timetype calculateAllreduce (DisCosTiC_Datatype rank, DisCosTiC_Datatype numRanks, DisCosTiC_Datatype messageSize, DisCosTiC_Timetype L, DisCosTiC_Timetype o, DisCosTiC_Timetype g, DisCosTiC_Timetype G, DisCosTiC_Timetype gamma=0, DisCosTiC_Timetype inverse_bandwidth=0, DisCosTiC_Datatype eagerLimit=65535)
 
static DisCosTiC_Timetype calculateCollectiveTime (CollectiveType collectiveType, DisCosTiC_Datatype rank, DisCosTiC_Datatype root, DisCosTiC_Datatype numRanks, DisCosTiC_Datatype messageSize, DisCosTiC_Timetype L, DisCosTiC_Timetype o, DisCosTiC_Timetype g, DisCosTiC_Timetype G, uint8_t algorithm=0, DisCosTiC_Timetype inverse_bandwidth=0, DisCosTiC_Datatype eagerLimit=65535)
 

Detailed Description

Definition at line 16 of file CollectiveModel.hpp.

Member Function Documentation

◆ calculateAllreduce()

static DisCosTiC_Timetype DisCosTiC::CollectiveModel::calculateAllreduce ( DisCosTiC_Datatype rank,
DisCosTiC_Datatype numRanks,
DisCosTiC_Datatype messageSize,
DisCosTiC_Timetype L,
DisCosTiC_Timetype o,
DisCosTiC_Timetype g,
DisCosTiC_Timetype G,
DisCosTiC_Timetype gamma = 0,
DisCosTiC_Timetype inverse_bandwidth = 0,
DisCosTiC_Datatype eagerLimit = 65535 )
inlinestatic

Definition at line 166 of file CollectiveModel.hpp.

Referenced by calculateCollectiveTime().

+ Here is the caller graph for this function:

◆ calculateBinomialTreeBroadcast()

static DisCosTiC_Timetype DisCosTiC::CollectiveModel::calculateBinomialTreeBroadcast ( DisCosTiC_Datatype rank,
DisCosTiC_Datatype root,
DisCosTiC_Datatype numRanks,
DisCosTiC_Datatype messageSize,
DisCosTiC_Timetype L,
DisCosTiC_Timetype o,
DisCosTiC_Timetype g,
DisCosTiC_Timetype G,
DisCosTiC_Timetype inverse_bandwidth = 0,
DisCosTiC_Datatype eagerLimit = 65535 )
inlinestatic

Definition at line 19 of file CollectiveModel.hpp.

Referenced by calculateCollectiveTime().

+ Here is the caller graph for this function:

◆ calculateBinomialTreeReduce()

static DisCosTiC_Timetype DisCosTiC::CollectiveModel::calculateBinomialTreeReduce ( DisCosTiC_Datatype rank,
DisCosTiC_Datatype root,
DisCosTiC_Datatype numRanks,
DisCosTiC_Datatype messageSize,
DisCosTiC_Timetype L,
DisCosTiC_Timetype o,
DisCosTiC_Timetype g,
DisCosTiC_Timetype G,
DisCosTiC_Timetype gamma = 0,
DisCosTiC_Timetype inverse_bandwidth = 0,
DisCosTiC_Datatype eagerLimit = 65535 )
inlinestatic

Definition at line 125 of file CollectiveModel.hpp.

Referenced by calculateCollectiveTime().

+ Here is the caller graph for this function:

◆ calculateCollectiveTime()

static DisCosTiC_Timetype DisCosTiC::CollectiveModel::calculateCollectiveTime ( CollectiveType collectiveType,
DisCosTiC_Datatype rank,
DisCosTiC_Datatype root,
DisCosTiC_Datatype numRanks,
DisCosTiC_Datatype messageSize,
DisCosTiC_Timetype L,
DisCosTiC_Timetype o,
DisCosTiC_Timetype g,
DisCosTiC_Timetype G,
uint8_t algorithm = 0,
DisCosTiC_Timetype inverse_bandwidth = 0,
DisCosTiC_Datatype eagerLimit = 65535 )
inlinestatic

Definition at line 202 of file CollectiveModel.hpp.

References DisCosTiC::BCAST_RING, calculateAllreduce(), calculateBinomialTreeBroadcast(), calculateBinomialTreeReduce(), calculateRingBroadcast(), DisCosTiC::COLL_ALLREDUCE, DisCosTiC::COLL_BCAST, and DisCosTiC::COLL_REDUCE.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calculateRingBroadcast()

static DisCosTiC_Timetype DisCosTiC::CollectiveModel::calculateRingBroadcast ( DisCosTiC_Datatype rank,
DisCosTiC_Datatype root,
DisCosTiC_Datatype numRanks,
DisCosTiC_Datatype messageSize,
DisCosTiC_Timetype L,
DisCosTiC_Timetype o,
DisCosTiC_Timetype g,
DisCosTiC_Timetype G,
DisCosTiC_Timetype inverse_bandwidth = 0,
DisCosTiC_Datatype eagerLimit = 65535 )
inlinestatic

Definition at line 92 of file CollectiveModel.hpp.

Referenced by calculateCollectiveTime().

+ Here is the caller graph for this function:

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