CGRA-ME
|
Proxy class that makes a new instance of the for ever call. Holds constant configuration info,. More...
#include <ClusteredMapper.h>
Public Member Functions | |
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... | |
![]() | |
virtual | ~Mapper () |
Public Attributes | |
const int | l_print |
Static Public Attributes | |
static constexpr Latency | kUndefLatency = -1 |
Protected Member Functions | |
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) |
![]() | |
Mapper (std::shared_ptr< CGRA > cgra, int timelimit) | |
Protected Attributes | |
const int | l_rand_seed |
const double | l_p_factor_factor |
const double | l_initial_pfactor |
const double | l_initial_hfactor |
const double | l_h_factor_factor |
const int | l_swap_factor |
const int | l_fanout_threshold |
const int | l_ram_ports |
const int | l_verbosity |
const bool | l_cluster |
bool | l_isElastic |
int | l_iteration_interval |
const std::string | l_arch_name |
const ConfigStore | l_mapper_args |
const int | l_cost_func |
OpScheduler * | l_op_sched |
std::vector< std::vector< OpGraphOpDesc > > | l_clusters |
std::map< OpGraphOpDesc, int > | l_op_cluster_index |
std::unordered_map< OpGraphOpDesc, std::vector< std::string > > | l_ops_to_node_names |
std::unordered_map< OpGraphOpDesc, int > | l_schedule |
Mapping | l_empty_mapping_result |
![]() | |
std::shared_ptr< CGRA > | cgra |
int | timelimit |
Proxy class that makes a new instance of the for ever call. Holds constant configuration info,.
Definition at line 41 of file ClusteredMapper.h.
ClusteredMapperDriver::ClusteredMapperDriver | ( | std::shared_ptr< CGRA > | cgra, |
int | timelimit, | ||
const ConfigStore & | args | ||
) |
Definition at line 52 of file ClusteredMapper.cpp.
|
protected |
Definition at line 217 of file ClusteredMapper.cpp.
|
protected |
Definition at line 237 of file ClusteredMapper.cpp.
|
protected |
Definition at line 172 of file ClusteredMapper.cpp.
|
overridevirtual |
main function to map the OpGraph to the device description
Implements Mapper.
Definition at line 71 of file ClusteredMapper.cpp.
|
protected |
Definition at line 101 of file ClusteredMapper.cpp.
|
protected |
Definition at line 254 of file ClusteredMapper.cpp.
|
staticconstexpr |
Definition at line 42 of file ClusteredMapper.h.
|
protected |
Definition at line 83 of file ClusteredMapper.h.
|
protected |
Definition at line 80 of file ClusteredMapper.h.
|
protected |
Definition at line 87 of file ClusteredMapper.h.
|
protected |
Definition at line 85 of file ClusteredMapper.h.
|
protected |
Definition at line 91 of file ClusteredMapper.h.
|
protected |
Definition at line 77 of file ClusteredMapper.h.
|
protected |
Definition at line 75 of file ClusteredMapper.h.
|
protected |
Definition at line 74 of file ClusteredMapper.h.
|
protected |
Definition at line 73 of file ClusteredMapper.h.
|
protected |
Definition at line 81 of file ClusteredMapper.h.
|
protected |
Definition at line 82 of file ClusteredMapper.h.
|
protected |
Definition at line 84 of file ClusteredMapper.h.
|
protected |
Definition at line 88 of file ClusteredMapper.h.
|
protected |
Definition at line 86 of file ClusteredMapper.h.
|
protected |
Definition at line 89 of file ClusteredMapper.h.
|
protected |
Definition at line 72 of file ClusteredMapper.h.
const int ClusteredMapperDriver::l_print |
Definition at line 55 of file ClusteredMapper.h.
|
protected |
Definition at line 78 of file ClusteredMapper.h.
|
protected |
Definition at line 71 of file ClusteredMapper.h.
|
protected |
Definition at line 90 of file ClusteredMapper.h.
|
protected |
Definition at line 76 of file ClusteredMapper.h.
|
protected |
Definition at line 79 of file ClusteredMapper.h.