Legion Runtime
|
#include <legion.h>
Public Member Functions | |
bool | operator== (const LogicalPartition &rhs) const |
bool | operator!= (const LogicalPartition &rhs) const |
bool | operator< (const LogicalPartition &rhs) const |
std::size_t | hash (void) const |
IndexPartition | get_index_partition (void) const |
FieldSpace | get_field_space (void) const |
RegionTreeID | get_tree_id (void) const |
bool | exists (void) const |
TypeTag | get_type_tag (void) const |
int | get_dim (void) const |
Static Public Attributes | |
static const LogicalPartition | NO_PART |
Protected Member Functions | |
FRIEND_ALL_RUNTIME_CLASSES | LogicalPartition (RegionTreeID tid, IndexPartition pid, FieldSpace field) |
Protected Attributes | |
RegionTreeID | tree_id |
IndexPartition | index_partition |
FieldSpace | field_space |
Logical partition objects defines handles to the actual logical partitions maintained by the runtime. Logical partitions are defined by a triple consisting of the index partition, field space, and region tree ID of the logical partition. These three values are sufficient to name every logical partition created in a Legion program.
Logical partition objects can be copied by values and stored in data structures. Only the Legion runtime is able to create non-empty logical partitions.
|
static |
empty logical partition