Legion Runtime
|
#include <legion.h>
Public Member Functions | |
bool | operator== (const LogicalRegion &rhs) const |
bool | operator!= (const LogicalRegion &rhs) const |
bool | operator< (const LogicalRegion &rhs) const |
std::size_t | hash (void) const |
IndexSpace | get_index_space (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 LogicalRegion | NO_REGION |
Protected Member Functions | |
FRIEND_ALL_RUNTIME_CLASSES | LogicalRegion (RegionTreeID tid, IndexSpace index, FieldSpace field) |
Protected Attributes | |
RegionTreeID | tree_id |
IndexSpace | index_space |
FieldSpace | field_space |
Logical region objects define handles to the actual logical regions maintained by the runtime. Logical regions are defined by a triple consisting of the index space, field space, and region tree ID of the logical region. These three values are used to uniquely name every logical region created in a Legion program.
Logical region objects can be copied by value and stored in data structures. Only the Legion runtime is able to create logical region objects that are non-empty.
|
static |
empty logical region handle