Interface Documentation
Version: invalid
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
flecsi::exec::leg::task_wrapper< F, P > Struct Template Reference

#include <task_wrapper.hh>

Public Types

using Traits = util::function_traits< decltype(F)>
 
using RETURN = typename Traits::return_type
 
using param_tuple = typename Traits::arguments_type
 

Static Public Member Functions

static RETURN execute (const Legion::Task *task, const std::vector< Legion::PhysicalRegion > &regions, Legion::Context context, Legion::Runtime *runtime)
 

Static Public Attributes

static constexpr task_processor_type_t LegionProcessor = P
 

Detailed Description

template<auto & F, task_processor_type_t P>
struct flecsi::exec::leg::task_wrapper< F, P >

The task_wrapper type provides execution functions for user and MPI tasks.

Template Parameters
Fthe user task
Pthe target processor type

Member Function Documentation

◆ execute()

template<auto & F, task_processor_type_t P>
static RETURN flecsi::exec::leg::task_wrapper< F, P >::execute ( const Legion::Task *  task,
const std::vector< Legion::PhysicalRegion > &  regions,
Legion::Context  context,
Legion::Runtime *  runtime 
)
inlinestatic

Execution wrapper method for user tasks.


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