|
SST/macro
|
#include <cart_allocation.h>


Public Member Functions | |
| cart_allocation (parallel_runtime *rt) | |
| void | init_factory_params (sprockit::sim_parameters *params) |
| virtual | ~cart_allocation () throw () |
| void | allocate (int nnode, const ordered_node_set &available, ordered_node_set &allocation) const |
| allocate More... | |
Public Member Functions inherited from sstmac::sw::node_allocator | |
| void | set_topology (hw::topology *top) |
| virtual std::string | to_string () const |
| virtual | ~node_allocator () throw () |
Public Member Functions inherited from sprockit::factory_type | |
| virtual void | init_factory_params (sim_parameters *params) |
| virtual void | finalize_init () |
Private Member Functions | |
| void | insert (hw::structured_topology *regtop, const std::vector< int > &coords, const ordered_node_set &available, ordered_node_set &allocation) const |
| insert More... | |
| void | allocate_dim (hw::structured_topology *regtop, int dim, std::vector< int > &vec, const ordered_node_set &available, ordered_node_set &allocation) const |
| allocate_dim Recursive method for looping dimensions in the block and adding them to the allocation More... | |
Private Attributes | |
| std::vector< int > | sizes_ |
| std::vector< int > | offsets_ |
| bool | auto_allocate_ |
Additional Inherited Members | |
Protected Member Functions inherited from sstmac::sw::node_allocator | |
| node_allocator (parallel_runtime *rt) | |
Protected Attributes inherited from sstmac::sw::node_allocator | |
| hw::topology * | topology_ |
| parallel_runtime * | rt_ |
Definition at line 22 of file cart_allocation.h.
|
inline |
Definition at line 27 of file cart_allocation.h.
References init_factory_params().

|
inlinevirtual | |||||||||||||
Definition at line 34 of file cart_allocation.h.
References allocate(), allocate_dim(), and insert().

|
virtual |
allocate
| nnode | |
| available | |
| allocation |
Implements sstmac::sw::node_allocator.
Referenced by ~cart_allocation().
|
private |
allocate_dim Recursive method for looping dimensions in the block and adding them to the allocation
| dim | |
| vec | |
| available | |
| allocation |
Referenced by ~cart_allocation().
|
virtual |
Reimplemented from sstmac::sw::node_allocator.
Referenced by cart_allocation().
|
private |
insert
| coords | The cartesian coordinates defining the node |
| available | The set of available nodes |
| allocation | The set of nodes storing the current allocation |
Referenced by ~cart_allocation().
|
private |
Definition at line 83 of file cart_allocation.h.
|
private |
Definition at line 81 of file cart_allocation.h.
|
private |
Definition at line 80 of file cart_allocation.h.
1.8.11