Legion Runtime
Public Member Functions | Public Attributes | List of all members
Legion::Task Class Referenceabstract

#include <legion.h>

Inheritance diagram for Legion::Task:
Legion::Mappable Legion::TaskMut

Public Member Functions

virtual bool has_parent_task (void) const =0
 
virtual const char * get_task_name (void) const =0
 
virtual Domain get_slice_domain (void) const =0
 
virtual ShardID get_shard_id (void) const =0
 
virtual size_t get_total_shards (void) const =0
 
virtual DomainPoint get_shard_point (void) const =0
 
virtual Domain get_shard_domain (void) const =0
 
virtual MappableType get_mappable_type (void) const
 
virtual const Taskas_task (void) const
 
- Public Member Functions inherited from Legion::Mappable
virtual UniqueID get_unique_id (void) const =0
 
virtual uint64_t get_context_index (void) const =0
 
virtual int get_depth (void) const =0
 
virtual const Taskget_parent_task (void) const =0
 
virtual const std::string & get_provenance_string (bool human=true) const =0
 
virtual const Copyas_copy (void) const
 
virtual const InlineMappingas_inline (void) const
 
virtual const Acquireas_acquire (void) const
 
virtual const Releaseas_release (void) const
 
virtual const Closeas_close (void) const
 
virtual const Fillas_fill (void) const
 
virtual const Partitionas_partition (void) const
 
virtual const MustEpochas_must_epoch (void) const
 

Public Attributes

TaskID task_id
 
std::vector< IndexSpaceRequirementindexes
 
std::vector< RegionRequirementregions
 
std::vector< OutputRequirementoutput_regions
 
std::vector< Futurefutures
 
std::vector< Grantgrants
 
std::vector< PhaseBarrierwait_barriers
 
std::vector< PhaseBarrierarrive_barriers
 
void * args
 
size_t arglen
 
bool is_index_space
 
bool concurrent_task
 
bool must_epoch_task
 
Domain index_domain
 
DomainPoint index_point
 
IndexSpace sharding_space
 
void * local_args
 
size_t local_arglen
 
Processor orig_proc
 
Processor current_proc
 
Processor target_proc
 
unsigned steal_count
 
bool stealable
 
bool speculated
 
bool local_function
 
- Public Attributes inherited from Legion::Mappable
MapperID map_id
 
MappingTagID tag
 
const Taskparent_task
 
void * mapper_data
 
size_t mapper_data_size
 

Additional Inherited Members

- Public Types inherited from Legion::Mappable
typedef Legion::MappableType MappableType
 
- Static Public Attributes inherited from Legion::Mappable
static const MappableType TASK_MAPPABLE = ::LEGION_TASK_MAPPABLE
 
static const MappableType COPY_MAPPABLE = ::LEGION_COPY_MAPPABLE
 
static const MappableType INLINE_MAPPABLE = ::LEGION_INLINE_MAPPABLE
 
static const MappableType ACQUIRE_MAPPABLE = ::LEGION_ACQUIRE_MAPPABLE
 
static const MappableType RELEASE_MAPPABLE = ::LEGION_RELEASE_MAPPABLE
 
static const MappableType CLOSE_MAPPABLE = ::LEGION_CLOSE_MAPPABLE
 
static const MappableType FILL_MAPPABLE = ::LEGION_FILL_MAPPABLE
 
static const MappableType PARTITION_MAPPABLE
 
static const MappableType MUST_EPOCH_MAPPABLE
 

Detailed Description

This class contains all the information from a task launch for either an individual or an index space task. It also provides information about the current state of the task from the runtime perspective so that mappers can make informed decisions.


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