Legion Runtime
Public Member Functions | Public Attributes | List of all members
Legion::TaskLauncher Struct Reference

#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="")
 
IndexSpaceRequirementadd_index_requirement (const IndexSpaceRequirement &req)
 
RegionRequirementadd_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< IndexSpaceRequirementindex_requirements
 
std::vector< RegionRequirementregion_requirements
 
std::vector< Futurefutures
 
std::vector< Grantgrants
 
std::vector< PhaseBarrierwait_barriers
 
std::vector< PhaseBarrierarrive_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
 

Detailed Description

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.

See also
Runtime

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