Interface Documentation
Version: invalid
Public Member Functions | Static Public Member Functions | List of all members
flecsi::exec::leg::task_prologue_t Struct Reference

#include <task_prologue.hh>

Public Member Functions

 task_prologue_t (const size_t &domain)
 
std::vector< Legion::RegionRequirement > const & region_requirements () const
 
std::vector< Legion::Future > && futures () &&
 
std::vector< Legion::FutureMap > const & future_maps () const
 
template<class P , class... AA>
void walk (const AA &... aa)
 
template<class T , std::size_t Priv, class Topo , topo::index_space_t< Topo > Space>
void visit (data::accessor< data::singular, T, Priv > *null_p, const data::field_reference< T, data::singular, Topo, Space > &ref)
 
template<typename DATA_TYPE , size_t PRIVILEGES>
void visit (data::accessor< data::dense, DATA_TYPE, PRIVILEGES > *, const data::field_reference< DATA_TYPE, data::dense, topo::global, topo::elements > &ref)
 
template<typename DATA_TYPE , size_t PRIVILEGES, class Topo , topo::index_space_t< Topo > Space, class = std::enable_if_t<topo::privilege_count<Topo, Space> == 1>>
void visit (data::accessor< data::dense, DATA_TYPE, PRIVILEGES > *, const data::field_reference< DATA_TYPE, data::dense, Topo, Space > &ref)
 
template<class Topo , std::size_t Priv>
void visit (data::topology_accessor< Topo, Priv > *, const data::topology_slot< Topo > &slot)
 
template<typename DATA_TYPE >
void visit (const future< DATA_TYPE > &f)
 
template<typename DATA_TYPE >
void visit (const future< DATA_TYPE, exec::launch_type_t::index > &f)
 

Static Public Member Functions

static Legion::PrivilegeMode privilege_mode (size_t mode)
 
template<typename DATA_TYPE >
static void visit (DATA_TYPE &)
 

Detailed Description

The task_prologue_t type can be called to walk task args before the task launcher is created. This allows us to gather region requirements and to set state on the associated data handles before Legion gets the task arguments tuple.

Constructor & Destructor Documentation

◆ task_prologue_t()

flecsi::exec::leg::task_prologue_t::task_prologue_t ( const size_t &  domain)
inline

Construct an task_prologue_t instance.

Parameters
runtimeThe Legion task runtime.
contextThe Legion task runtime context.

Member Function Documentation

◆ privilege_mode()

static Legion::PrivilegeMode flecsi::exec::leg::task_prologue_t::privilege_mode ( size_t  mode)
inlinestatic

Convert the template privileges to proper Legion privileges.

Parameters
modeprivilege

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