Legion Runtime
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Legion::ColocationConstraint Class Reference

#include <constraints.h>

Public Member Functions

 ColocationConstraint (unsigned index1, unsigned index2)
 
 ColocationConstraint (unsigned index1, unsigned index2, FieldID fid)
 
 ColocationConstraint (unsigned index1, unsigned index2, const std::set< FieldID > &fields)
 
 ColocationConstraint (const std::vector< unsigned > &indexes, const std::set< FieldID > &fields)
 
bool operator== (const ColocationConstraint &o) const
 
bool operator!= (const ColocationConstraint &other) const
 
bool entails (const ColocationConstraint &other) const
 
bool conflicts (const ColocationConstraint &other) const
 
void swap (ColocationConstraint &rhs)
 
void serialize (Serializer &rez) const
 
void deserialize (Deserializer &derez)
 

Public Attributes

std::set< FieldID > fields
 
std::set< unsigned > indexes
 

Static Public Attributes

static const ExecutionConstraintKind constraint_kind
 

Detailed Description

Co-location constraints can be used to specify that two region requirements for a task need to be located in the same physical instance for layout purposes. A colocation constraint without fields will apply to all such fields in the region requirements at those indexes.

Member Data Documentation

◆ constraint_kind

const ExecutionConstraintKind Legion::ColocationConstraint::constraint_kind
static
Initial value:
=
LEGION_COLOCATION_CONSTRAINT

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