#include <task_wrapper.hh>
|
|
using | Traits = util::function_traits< decltype(F)> |
| |
|
using | RETURN = typename Traits::return_type |
| |
|
using | param_tuple = typename Traits::arguments_type |
| |
|
| static RETURN | execute (const Legion::Task *task, const std::vector< Legion::PhysicalRegion > ®ions, Legion::Context context, Legion::Runtime *runtime) |
| |
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
-
| F | the user task |
| P | the target processor type |
◆ 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: