CPPuddle
Loading...
Searching...
No Matches
Dummy_Executor Struct Reference

Dummy CPU executor (providing correct interface but running everything immediately Intended for testing the aggregation on the CPU, not for production use! More...

Public Member Functions

hpx::future< void > get_future ()
 Executor is always ready.
template<typename F, typename... Ts>
void post (F &&f, Ts &&...ts)
 post – executes immediately
template<typename F, typename... Ts>
hpx::future< void > async (F &&f, Ts &&...ts)
 async – executores immediately and returns ready future
hpx::future< void > get_future ()
 Executor is always ready.
template<typename F, typename... Ts>
void post (F &&f, Ts &&...ts)
 post – executes immediately
template<typename F, typename... Ts>
hpx::future< void > async (F &&f, Ts &&...ts)
 async – executores immediately and returns ready future

Friends

template<typename F, typename... Ts>
decltype(auto) tag_invoke (hpx::parallel::execution::post_t, Dummy_Executor &exec, F &&f, Ts &&... ts)
template<typename F, typename... Ts>
decltype(auto) tag_invoke (hpx::parallel::execution::async_execute_t, Dummy_Executor &exec, F &&f, Ts &&... ts)
template<typename F, typename... Ts>
decltype(auto) tag_invoke (hpx::parallel::execution::post_t, Dummy_Executor &exec, F &&f, Ts &&... ts)
template<typename F, typename... Ts>
decltype(auto) tag_invoke (hpx::parallel::execution::async_execute_t, Dummy_Executor &exec, F &&f, Ts &&... ts)

Detailed Description

Dummy CPU executor (providing correct interface but running everything immediately Intended for testing the aggregation on the CPU, not for production use!

Dummy CPU executor (providing correct interface but running everything immediately Intended for testing the aggregation on the CPU, not for production use!

Member Function Documentation

◆ async() [1/2]

template<typename F, typename... Ts>
hpx::future< void > Dummy_Executor::async ( F && f,
Ts &&... ts )
inline

async – executores immediately and returns ready future

◆ async() [2/2]

template<typename F, typename... Ts>
hpx::future< void > Dummy_Executor::async ( F && f,
Ts &&... ts )
inline

async – executores immediately and returns ready future

◆ get_future() [1/2]

hpx::future< void > Dummy_Executor::get_future ( )
inline

Executor is always ready.

◆ get_future() [2/2]

hpx::future< void > Dummy_Executor::get_future ( )
inline

Executor is always ready.

◆ post() [1/2]

template<typename F, typename... Ts>
void Dummy_Executor::post ( F && f,
Ts &&... ts )
inline

post – executes immediately

◆ post() [2/2]

template<typename F, typename... Ts>
void Dummy_Executor::post ( F && f,
Ts &&... ts )
inline

post – executes immediately

◆ tag_invoke [1/4]

template<typename F, typename... Ts>
decltype(auto) tag_invoke ( hpx::parallel::execution::async_execute_t ,
Dummy_Executor & exec,
F && f,
Ts &&... ts )
friend

◆ tag_invoke [2/4]

template<typename F, typename... Ts>
decltype(auto) tag_invoke ( hpx::parallel::execution::async_execute_t ,
Dummy_Executor & exec,
F && f,
Ts &&... ts )
friend

◆ tag_invoke [3/4]

template<typename F, typename... Ts>
decltype(auto) tag_invoke ( hpx::parallel::execution::post_t ,
Dummy_Executor & exec,
F && f,
Ts &&... ts )
friend

◆ tag_invoke [4/4]

template<typename F, typename... Ts>
decltype(auto) tag_invoke ( hpx::parallel::execution::post_t ,
Dummy_Executor & exec,
F && f,
Ts &&... ts )
friend

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