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

#include <constraints.h>

Public Member Functions

 LaunchConstraint (LaunchKind kind, size_t value)
 
 LaunchConstraint (LaunchKind kind, const size_t *value, int dims)
 
bool operator== (const LaunchConstraint &other) const
 
bool operator!= (const LaunchConstraint &other) const
 
bool entails (const LaunchConstraint &other) const
 
bool conflicts (const LaunchConstraint &other) const
 
void swap (LaunchConstraint &rhs)
 
void serialize (Serializer &rez) const
 
void deserialize (Deserializer &derez)
 

Public Attributes

LaunchKind launch_kind
 
size_t values [3]
 
int dims
 

Static Public Attributes

static const ExecutionConstraintKind constraint_kind
 

Detailed Description

Constraints on the launch configuration for this task. Right now this mainly applies to GPU tasks which can specify things like required CTA and grid shape. In the future we can imagine extending this to other processor kinds.

Member Data Documentation

◆ constraint_kind

const ExecutionConstraintKind Legion::LaunchConstraint::constraint_kind
static
Initial value:
=
LEGION_LAUNCH_CONSTRAINT

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