Legion Runtime
|
#include <legion.h>
Public Member Functions | |
IndexTaskLauncher (TaskID tid, Domain domain, UntypedBuffer global_arg, ArgumentMap map, Predicate pred=Predicate::TRUE_PRED, bool must=false, MapperID id=0, MappingTagID tag=0, UntypedBuffer map_arg=UntypedBuffer(), const char *provenance="") | |
IndexTaskLauncher (TaskID tid, IndexSpace launch_space, UntypedBuffer global_arg, ArgumentMap map, Predicate pred=Predicate::TRUE_PRED, bool must=false, 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 |
Domain | launch_domain |
IndexSpace | launch_space |
IndexSpace | sharding_space |
std::vector< IndexSpaceRequirement > | index_requirements |
std::vector< RegionRequirement > | region_requirements |
std::vector< Future > | futures |
std::vector< ArgumentMap > | point_futures |
std::vector< Grant > | grants |
std::vector< PhaseBarrier > | wait_barriers |
std::vector< PhaseBarrier > | arrive_barriers |
UntypedBuffer | global_arg |
ArgumentMap | argument_map |
Predicate | predicate |
bool | concurrent |
bool | must_parallelism |
MapperID | map_id |
MappingTagID | tag |
UntypedBuffer | map_arg |
Future | predicate_false_future |
UntypedBuffer | predicate_false_result |
std::string | provenance |
const std::vector< StaticDependence > * | static_dependences |
bool | enable_inlining |
bool | independent_requirements |
bool | elide_future_return |
bool | silence_warnings |
Future | initial_value |
Index launchers are objects that describe the launch of an index space of tasks to the runtime. They can be re-used and safely modified between calls to index space launches.