Legion Runtime
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Legion::LogicalRegion Class Reference

#include <legion.h>

Inheritance diagram for Legion::LogicalRegion:
Legion::LogicalRegionT< DIM, COORD_T >

Public Member Functions

bool operator== (const LogicalRegion &rhs) const
 
bool operator!= (const LogicalRegion &rhs) const
 
bool operator< (const LogicalRegion &rhs) 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
 

Detailed Description

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.

See also
FieldSpace

Member Data Documentation

◆ NO_REGION

const LogicalRegion Legion::LogicalRegion::NO_REGION
static

empty logical region handle


The documentation for this class was generated from the following file: