Legion Runtime
|
#include <legion.h>
Public Member Functions | |
TaskLauncher (TaskID tid, UntypedBuffer arg, Predicate pred=Predicate::TRUE_PRED, MapperID id=0, MappingTagID tag=0, UntypedBuffer map_arg=UntypedBuffer(), const char *provenance="") | |
IndexSpaceRequirement & | add_index_requirement (const IndexSpaceRequirement &req) |
RegionRequirement & | add_region_requirement (const RegionRequirement &req) |
void | add_field (unsigned idx, FieldID fid, bool inst=true) |
void | add_future (Future f) |
void | add_grant (Grant g) |
void | add_wait_barrier (PhaseBarrier bar) |
void | add_arrival_barrier (PhaseBarrier bar) |
void | add_wait_handshake (LegionHandshake handshake) |
void | add_arrival_handshake (LegionHandshake handshake) |
void | set_predicate_false_future (Future f) |
void | set_predicate_false_result (UntypedBuffer arg) |
void | set_independent_requirements (bool independent) |
Public Attributes | |
TaskID | task_id |
std::vector< IndexSpaceRequirement > | index_requirements |
std::vector< RegionRequirement > | region_requirements |
std::vector< Future > | futures |
std::vector< Grant > | grants |
std::vector< PhaseBarrier > | wait_barriers |
std::vector< PhaseBarrier > | arrive_barriers |
UntypedBuffer | argument |
Predicate | predicate |
MapperID | map_id |
MappingTagID | tag |
UntypedBuffer | map_arg |
DomainPoint | point |
IndexSpace | sharding_space |
Future | predicate_false_future |
UntypedBuffer | predicate_false_result |
std::string | provenance |
const std::vector< StaticDependence > * | static_dependences |
bool | enable_inlining |
bool | local_function_task |
bool | independent_requirements |
bool | elide_future_return |
bool | silence_warnings |
Task launchers are objects that describe a launch configuration to the runtime. They can be re-used and safely modified between calls to task launches.