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

#include <constraints.h>

Public Member Functions

 ResourceConstraint (ResourceKind resource_kind, EqualityKind eq_kind, size_t value)
 
bool operator== (const ResourceConstraint &other) const
 
bool operator!= (const ResourceConstraint &other) const
 
bool entails (const ResourceConstraint &other) const
 
bool conflicts (const ResourceConstraint &other) const
 
void swap (ResourceConstraint &rhs)
 
void serialize (Serializer &rez) const
 
void deserialize (Deserializer &derez)
 

Public Attributes

ResourceKind resource_kind
 
EqualityKind equality_kind
 
size_t value
 

Static Public Attributes

static const ExecutionConstraintKind constraint_kind
 

Detailed Description

Resource constraints provide a way of specifying the expected constraints for a task variant on a particular architecture. The target low-level processor must meet the constraint in order for the invariant to run on the target processor.

Member Data Documentation

◆ constraint_kind

const ExecutionConstraintKind Legion::ResourceConstraint::constraint_kind
static
Initial value:
=
LEGION_RESOURCE_CONSTRAINT

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