|
Legion Runtime
|
#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 |
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.
|
static |