Interface Documentation
Version: invalid
Classes | Namespaces | Functions | Variables
task_wrapper.hh File Reference
#include <flecsi-config.h>
#include "flecsi/exec/leg/bind_accessors.hh"
#include "flecsi/exec/leg/future.hh"
#include "flecsi/exec/leg/unbind_accessors.hh"
#include "flecsi/exec/task_attributes.hh"
#include "flecsi/run/backend.hh"
#include "flecsi/util/common.hh"
#include "flecsi/util/function_traits.hh"
#include "flecsi/util/serialize.hh"
#include <flecsi/flog.hh>
#include <legion.h>
#include <string>
#include <utility>
Include dependency graph for task_wrapper.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flecsi::util::serial_convert< data::accessor< data::dense, T, Priv > >
 
struct  flecsi::util::serial_convert< data::accessor< data::singular, T, Priv > >
 
struct  flecsi::util::serial_convert< future< T > >
 
struct  flecsi::util::serial_convert< future< T > >::Rep
 
struct  flecsi::exec::leg::detail::decay< T >
 
struct  flecsi::exec::leg::detail::decay< std::tuple< TT... > >
 
struct  flecsi::exec::leg::task_wrapper< F, P >
 
struct  flecsi::exec::leg::task_wrapper< F, task_processor_type_t::mpi >
 

Namespaces

 flecsi
 

Functions

template<typename RETURN , task< RETURN > * TASK, std::size_t A>
void flecsi::exec::leg::detail::register_task ()
 
template<class T >
auto flecsi::exec::leg::detail::tuple_get (const Legion::Task &t)
 
template<auto & F>
auto flecsi::exec::leg::verb (const Legion::Task *, const std::vector< Legion::PhysicalRegion > &, Legion::Context, Legion::Runtime *)
 

Variables

log::devel_tag flecsi::task_wrapper_tag ("task_wrapper")
 
task_id_t flecsi::exec::leg::detail::last_task
 
template<auto & F, size_t A = loc | leaf>
const task_id_t flecsi::exec::leg::task_id
 

Variable Documentation

◆ task_id

template<auto & F, size_t A = loc | leaf>
const task_id_t flecsi::exec::leg::task_id
Initial value:
= (run::context::instance().register_init(detail::register_task<
typename util::function_traits<decltype(F)>::return_type,
F,
A>),
++detail::last_task)
void register_task()
Definition: task_wrapper.hh:144

Arbitrary index for each task.

Template Parameters
FLegion task function.
ATTRIBUTESA size_t holding the mask of the task attributes mask task_attributes_mask_t.