this contains PaRSEC-based TTG functionality
More...
|
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs> |
using | Op = TT< keyT, output_terminalsT, derivedT, ttg::typelist< input_valueTs... > > |
|
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs> |
using | TemplateTask = TT< keyT, output_terminalsT, derivedT, ttg::typelist< input_valueTs... > > |
|
typedef void(* | static_set_arg_fct_type) (void *, size_t, ttg::TTBase *) |
|
typedef std::pair< static_set_arg_fct_type, ttg::TTBase * > | static_set_arg_fct_call_t |
|
typedef std::tuple< int, void *, size_t > | static_set_arg_fct_arg_t |
|
|
int | num_devices () |
|
template<typename... Views> |
bool | register_device_memory (std::tuple< Views &... > &views) |
|
template<typename... Buffer> |
void | mark_device_out (std::tuple< Buffer &... > &b) |
|
template<typename... Buffer> |
void | post_device_out (std::tuple< Buffer &... > &b) |
|
void | make_executable_hook (ttg::World &) |
|
void | ttg_initialize (int argc, char **argv, int num_threads=-1, parsec_context_s *=nullptr) |
|
void | ttg_finalize () |
|
ttg::World | ttg_default_execution_context () |
|
void | ttg_execute (ttg::World world) |
|
void | ttg_fence (ttg::World world) |
|
template<typename T > |
void | ttg_register_ptr (ttg::World world, const std::shared_ptr< T > &ptr) |
|
void | ttg_register_status (ttg::World world, const std::shared_ptr< std::promise< void >> &status_ptr) |
|
template<typename Callback > |
void | ttg_register_callback (ttg::World world, Callback &&callback) |
|
ttg::Edge & | ttg_ctl_edge (ttg::World world) |
|
void | ttg_sum (ttg::World world, double &value) |
|
template<typename T , typename... Args> |
Ptr< T > | make_ptr (Args &&... args) |
|
template<typename T > |
Ptr< std::decay_t< T > > | get_ptr (T &&obj) |
|
void | ttg_initialize (int argc, char **argv, int num_threads, parsec_context_t *ctx) |
|
template<typename T > |
void | ttg_register_ptr (ttg::World world, std::unique_ptr< T > &&ptr) |
|
template<typename T > |
void | ttg_broadcast (::ttg::World world, T &data, int source_rank) |
|
template<typename ValueT > |
auto | persistent (ValueT &&value) |
|
◆ Op
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs>
Definition at line 18 of file fwd.h.
◆ static_set_arg_fct_arg_t
◆ static_set_arg_fct_call_t
◆ static_set_arg_fct_type
typedef void(* ttg_parsec::static_set_arg_fct_type) (void *, size_t, ttg::TTBase *) |
◆ TemplateTask
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs>
Definition at line 21 of file fwd.h.
◆ get_ptr()
template<typename T >
Ptr< std::decay_t< T > > ttg_parsec::get_ptr |
( |
T && |
obj | ) |
|
|
inline |
◆ make_executable_hook()
void ttg_parsec::make_executable_hook |
( |
ttg::World & |
world | ) |
|
|
inline |
◆ make_ptr()
template<typename T , typename... Args>
Ptr< T > ttg_parsec::make_ptr |
( |
Args &&... |
args | ) |
|
|
inline |
◆ mark_device_out()
template<typename... Buffer>
void ttg_parsec::mark_device_out |
( |
std::tuple< Buffer &... > & |
b | ) |
|
|
inline |
◆ num_devices()
int ttg_parsec::num_devices |
( |
| ) |
|
|
inline |
◆ persistent()
template<typename ValueT >
auto ttg_parsec::persistent |
( |
ValueT && |
value | ) |
|
|
inline |
◆ post_device_out()
template<typename... Buffer>
void ttg_parsec::post_device_out |
( |
std::tuple< Buffer &... > & |
b | ) |
|
|
inline |
◆ register_device_memory()
template<typename... Views>
bool ttg_parsec::register_device_memory |
( |
std::tuple< Views &... > & |
views | ) |
|
|
inline |
◆ ttg_broadcast()
template<typename T >
void ttg_parsec::ttg_broadcast |
( |
::ttg::World |
world, |
|
|
T & |
data, |
|
|
int |
source_rank |
|
) |
| |
broadcast
- Template Parameters
-
Definition at line 1153 of file ttg.h.
◆ ttg_ctl_edge()
◆ ttg_default_execution_context()
ttg::World ttg_parsec::ttg_default_execution_context |
( |
| ) |
|
|
inline |
◆ ttg_execute()
◆ ttg_fence()
◆ ttg_finalize()
void ttg_parsec::ttg_finalize |
( |
| ) |
|
|
inline |
◆ ttg_initialize() [1/2]
void ttg_parsec::ttg_initialize |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
int |
num_threads, |
|
|
parsec_context_t * |
ctx |
|
) |
| |
|
inline |
◆ ttg_initialize() [2/2]
void ttg_parsec::ttg_initialize |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
int |
num_threads = -1 , |
|
|
parsec_context_s * |
= nullptr |
|
) |
| |
|
inline |
◆ ttg_register_callback()
template<typename Callback >
void ttg_parsec::ttg_register_callback |
( |
ttg::World |
world, |
|
|
Callback && |
callback |
|
) |
| |
|
inline |
◆ ttg_register_ptr() [1/2]
template<typename T >
void ttg_parsec::ttg_register_ptr |
( |
ttg::World |
world, |
|
|
const std::shared_ptr< T > & |
ptr |
|
) |
| |
|
inline |
◆ ttg_register_ptr() [2/2]
template<typename T >
void ttg_parsec::ttg_register_ptr |
( |
ttg::World |
world, |
|
|
std::unique_ptr< T > && |
ptr |
|
) |
| |
|
inline |
◆ ttg_register_status()
void ttg_parsec::ttg_register_status |
( |
ttg::World |
world, |
|
|
const std::shared_ptr< std::promise< void >> & |
status_ptr |
|
) |
| |
|
inline |
◆ ttg_sum()
void ttg_parsec::ttg_sum |
( |
ttg::World |
world, |
|
|
double & |
value |
|
) |
| |
|
inline |
◆ delayed_unpack_actions
◆ static_id_to_op_map
◆ static_map_mutex
std::mutex ttg_parsec::static_map_mutex |
|
inline |