CPPuddle
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
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::lcos::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::lcos::future< void > async (F &&f, Ts &&...ts)
 async – executores immediately and returns ready future
 
hpx::lcos::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::lcos::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::lcos::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::lcos::future< void > Dummy_Executor::async ( F &&  f,
Ts &&...  ts 
)
inline

async – executores immediately and returns ready future

◆ get_future() [1/2]

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

Executor is always ready.

◆ get_future() [2/2]

hpx::lcos::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

Friends And Related Symbol Documentation

◆ 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: