CGRA-ME
|
Implementation of the. More...
#include <ClusteredMapper.h>
Classes | |
struct | UnmappableException |
Public Member Functions | |
PathFinder (ClusteredMapperDriver driver, const OpGraph &opgraph, const MRRG &mrrg, bool isElastic=false, const std::string placement_filename="") | |
Mapping | routeOpGraph (Mapping placement) |
Static Public Attributes | |
static constexpr Latency | kUndefLatency = -1 |
Private Member Functions | |
void | parsePlacementFile () |
void | printNumberOfResourcesUsed () |
bool | routeVal (OpGraphValDesc) |
std::vector< const MRRGNode * > | dijkstraVisit (const MRRGNode *, const MRRGNode *, OperandTag, OpGraphValDesc, std::set< const MRRGNode * >, int, int) |
void | mapMRRGNode (OpGraphValDesc, const MRRGNode *) |
bool | isOpgraphCovered () |
bool | checkOveruse () |
double | getCost (const MRRGNode *) |
void | ripUpOpVal (OpGraphValDesc) |
void | setMappingInto (Mapping &m) const |
![]() | |
ClusteredMapperDriver (std::shared_ptr< CGRA > cgra, int timelimit, const ConfigStore &args) | |
Mapping | mapOpGraph (std::shared_ptr< OpGraph > opgraph, const int II, const MRRG &mrrg, std::unordered_map< std::string, std::string > fix_port) override |
main function to map the OpGraph to the device description More... | |
Mapping | mapStatic (std::shared_ptr< OpGraph > opgraph, const int II, const MRRG &mrrg, std::unordered_map< std::string, std::string > fix_port, PrintOnDestructionChronoSequence &timing_seq) |
Mapping | mapElastic (std::shared_ptr< OpGraph > opgraph, const int II, const MRRG &mrrg, std::unordered_map< std::string, std::string > fix_port, PrintOnDestructionChronoSequence timing_seq) |
const Latency | getCyclesToSink (OpGraphOpDesc source, OpGraphOpDesc sink) |
bool | isAllOpsSupported (const OpGraph &opgraph, const MRRG &mrrg) |
void | printPlacementNeato (int i, const OpGraph &opgraph, Mapping placed, std::unordered_map< OpGraphOpDesc, int > sched) |
![]() | |
virtual | ~Mapper () |
Mapper (std::shared_ptr< CGRA > cgra, int timelimit) | |
Additional Inherited Members | |
![]() | |
static constexpr Latency | kUndefLatency = -1 |
Implementation of the.
Instatiated for every mapping call. Inherits from the driver to get easy access to configuration members.
Definition at line 119 of file ClusteredMapper.h.
PathFinder::PathFinder | ( | ClusteredMapperDriver | driver, |
const OpGraph & | opgraph, | ||
const MRRG & | mrrg, | ||
bool | isElastic = false , |
||
const std::string | placement_filename = "" |
||
) |
Definition at line 29 of file Pathfinder.cpp.
|
private |
Definition at line 176 of file Pathfinder.cpp.
|
private |
A single-threaded visit in dijkstra's algorithm-order over graph
, starting at the vertices in initial_list
.
Definition at line 317 of file Pathfinder.cpp.
|
private |
Definition at line 225 of file Pathfinder.cpp.
|
private |
Definition at line 152 of file Pathfinder.cpp.
|
private |
Definition at line 236 of file Pathfinder.cpp.
|
private |
Definition at line 474 of file Pathfinder.cpp.
|
private |
Definition at line 163 of file Pathfinder.cpp.
|
private |
Definition at line 199 of file Pathfinder.cpp.
Definition at line 51 of file Pathfinder.cpp.
|
private |
Definition at line 242 of file Pathfinder.cpp.
|
inlineprivate |
Definition at line 149 of file ClusteredMapper.h.
|
staticconstexpr |
Definition at line 121 of file ClusteredMapper.h.
|
private |
Definition at line 163 of file ClusteredMapper.h.
|
private |
Definition at line 159 of file ClusteredMapper.h.
|
private |
Definition at line 157 of file ClusteredMapper.h.
|
private |
Definition at line 167 of file ClusteredMapper.h.
|
private |
Definition at line 160 of file ClusteredMapper.h.
|
private |
Definition at line 161 of file ClusteredMapper.h.
|
private |
Definition at line 158 of file ClusteredMapper.h.
|
private |
Definition at line 165 of file ClusteredMapper.h.
|
private |
Definition at line 162 of file ClusteredMapper.h.
|
private |
Definition at line 166 of file ClusteredMapper.h.
|
private |
Definition at line 164 of file ClusteredMapper.h.