|
Legion Runtime
|
#include <mapping.h>
Public Member Functions | |
| PhysicalInstance (PhysicalInstance &&rhs) noexcept | |
| PhysicalInstance (const PhysicalInstance &rhs) | |
| PhysicalInstance & | operator= (PhysicalInstance &&rhs) noexcept |
| PhysicalInstance & | operator= (const PhysicalInstance &rhs) |
| bool | operator< (const PhysicalInstance &rhs) const |
| bool | operator== (const PhysicalInstance &rhs) const |
| bool | operator!= (const PhysicalInstance &rhs) const |
| std::size_t | hash (void) const |
| Memory | get_location (void) const |
| unsigned long | get_instance_id (void) const |
| size_t | get_instance_size (void) const |
| Domain | get_instance_domain (void) const |
| void | get_fields (std::set< FieldID > &fields) const |
| FieldSpace | get_field_space (void) const |
| RegionTreeID | get_tree_id (void) const |
| LayoutConstraintID | get_layout_id (void) const |
| PointerConstraint | get_pointer_constraint (void) const |
| bool | exists (bool strong_test=false) const |
| bool | is_normal_instance (void) const |
| bool | is_virtual_instance (void) const |
| bool | is_reduction_instance (void) const |
| bool | is_external_instance (void) const |
| bool | has_field (FieldID fid) const |
| void | has_fields (std::map< FieldID, bool > &fids) const |
| void | remove_space_fields (std::set< FieldID > &fids) const |
| void | add_use_field (FieldID fid) |
| void | add_use_fields (const std::set< FieldID > &fids) |
| bool | entails (const LayoutConstraintSet &constraint_set, const LayoutConstraint **failed_constraint=nullptr) const |
Static Public Member Functions | |
| static PhysicalInstance | get_virtual_instance (void) |
The PhysicalInstance class provides an interface for garnering information about physical instances throughout the mapping interface. Mappers can discover information about physical instances such as their location, layout, and validity of data. Mappers can make copies of these objects and store them permanently in their state, but must be prepared that the validity of field data can change under such circumstances. The instance itself can actually be garbage collected. Methods are provided for detecting such cases.