12 #ifndef SSTMAC_BACKENDS_NATIVE_SIM_PARTITION_H_INCLUDED 13 #define SSTMAC_BACKENDS_NATIVE_SIM_PARTITION_H_INCLUDED 51 "partition::get_partition: invalid lpid %d requested for parallel run",
89 #if SSTMAC_SANITY_CHECK 92 "partition::lpid_for_switch: invalid switch %d",
168 read_partition(
const std::string &partfilename,
int nproc);
191 return local_switch_to_thread_[local_idx];
218 partition_switches();
237 partition_switches();
hw::index_subset * subset(int lpid) const
virtual int thread_for_local_switch(int local_idx) const
serial_partition(parallel_runtime *rt)
virtual int thread_for_local_switch(int local_idx) const
DeclareFactory1InitParam(partition, parallel_runtime *)
metis_partition(parallel_runtime *rt)
virtual std::string to_string() const
int local_num_switches() const
virtual void finalize_init()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
int * num_switches_per_lp()
int local_switch(int idx) const
partition(parallel_runtime *rt)
virtual void init_factory_params(sim_parameters *params)
occupied_block_partition(parallel_runtime *rt)
void init_local_switches()
int num_switches_total() const
#define spkt_throw_printf(exc, template_str,...)
hw::interconnect * fake_ic_
int lpid_for_switch(int switch_id) const
block_partition(parallel_runtime *rt)
int unoccupied_per_thread_
topology_partition(parallel_runtime *rt)
DeclareDebugSlot(partition)
Class for storing all the partitions given to us by METIS.
std::vector< hw::index_subset * > subsets_
int * local_switch_to_thread_
Error indicating some internal value was unexpected.
int * num_switches_per_lp_