Legion Runtime
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Legion::Task Class Referenceabstract

#include <mapping.h>

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

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 Task * as_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 Task * get_parent_task (void) const =0
 
virtual const std::string_view & get_provenance_string (bool human=true) const =0
 
virtual const Copy * as_copy (void) const
 
virtual const InlineMapping * as_inline (void) const
 
virtual const Acquire * as_acquire (void) const
 
virtual const Release * as_release (void) const
 
virtual const Close * as_close (void) const
 
virtual const Fill * as_fill (void) const
 
virtual const Partition * as_partition (void) const
 
virtual const MustEpoch * as_must_epoch (void) const
 

Public Attributes

TaskID task_id
 
std::vector< IndexSpaceRequirement > indexes
 
std::vector< RegionRequirement > regions
 
std::vector< OutputRequirement > output_regions
 
std::vector< Future > futures
 
std::vector< Grant > grants
 
std::vector< PhaseBarrier > wait_barriers
 
std::vector< PhaseBarrier > arrive_barriers
 
const 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
 
const 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 Task * parent_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 = ::LEGION_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.

Member Function Documentation

◆ as_task()

virtual const Task * Legion::Task::as_task ( void  ) const
inlinevirtual

Reimplemented from Legion::Mappable.

◆ get_mappable_type()

virtual MappableType Legion::Task::get_mappable_type ( void  ) const
inlinevirtual

Implements Legion::Mappable.


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