ttg_parsec Namespace Reference
this contains PaRSEC-based TTG functionality More...
Namespaces | |
| detail | |
Classes | |
| struct | Buffer |
| struct | devicescratch |
| class | TT |
| struct | Ptr |
| struct | TTValue |
| struct | ptr |
| struct | msg_header_t |
| class | WorldImpl |
Typedefs | |
| 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, std::unique_ptr< std::byte[]>, size_t > | static_set_arg_fct_arg_t |
Functions | |
| int | num_devices () |
| template<typename... Views> | |
| bool | register_device_memory (std::tuple< Views &... > &views) |
| template<typename T , std::size_t N> | |
| bool | register_device_memory (const ttg::span< T, N > &span) |
| template<typename... Buffer> | |
| void | mark_device_out (std::tuple< Buffer &... > &b) |
| template<typename... Buffer> | |
| void | post_device_out (std::tuple< Buffer &... > &b) |
| template<typename T > | |
| parsec_data_t * | buffer_data (T &&buffer) |
| 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) |
Variables | |
| std::map< uint64_t, static_set_arg_fct_call_t > | static_id_to_op_map |
| std::mutex | static_map_mutex |
| std::multimap< uint64_t, static_set_arg_fct_arg_t > | delayed_unpack_actions |
Typedef Documentation
◆ Op
template<typename keyT , typename output_terminalsT , typename derivedT , typename... input_valueTs>
| using ttg_parsec::Op = typedef TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...> > |
◆ static_set_arg_fct_arg_t
| typedef std::tuple<int, std::unique_ptr<std::byte[]>, size_t> ttg_parsec::static_set_arg_fct_arg_t |
◆ static_set_arg_fct_call_t
| typedef std::pair<static_set_arg_fct_type, ttg::TTBase *> ttg_parsec::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>
| using ttg_parsec::TemplateTask = typedef TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...> > |
Function Documentation
◆ buffer_data()
template<typename T >
| parsec_data_t * ttg_parsec::buffer_data | ( | T && | buffer | ) |
Definition at line 260 of file devicefunc.h.
◆ get_ptr()
template<typename T >
|
inline |
◆ make_executable_hook()
|
inline |
◆ make_ptr()
template<typename T , typename... Args>
|
inline |
◆ mark_device_out()
template<typename... Buffer>
| void ttg_parsec::mark_device_out | ( | std::tuple< Buffer &... > & | b | ) |
Definition at line 218 of file devicefunc.h.
◆ num_devices()
◆ persistent()
template<typename ValueT >
|
inline |
◆ post_device_out()
template<typename... Buffer>
| void ttg_parsec::post_device_out | ( | std::tuple< Buffer &... > & | b | ) |
Definition at line 255 of file devicefunc.h.
◆ register_device_memory() [1/2]
template<typename T , std::size_t N>
| bool ttg_parsec::register_device_memory | ( | const ttg::span< T, N > & | span | ) |
Definition at line 109 of file devicefunc.h.
◆ register_device_memory() [2/2]
template<typename... Views>
| bool ttg_parsec::register_device_memory | ( | std::tuple< Views &... > & | views | ) |
Definition at line 81 of file devicefunc.h.
◆ ttg_broadcast()
template<typename T >
| void ttg_parsec::ttg_broadcast | ( | ::ttg::World | world, |
| T & | data, | ||
| int | source_rank | ||
| ) |
◆ ttg_ctl_edge()
|
inline |
◆ ttg_default_execution_context()
|
inline |
◆ ttg_execute()
|
inline |
◆ ttg_fence()
|
inline |
◆ ttg_finalize()
◆ ttg_initialize() [1/2]
|
inline |
◆ ttg_initialize() [2/2]
|
inline |
◆ ttg_register_callback()
template<typename Callback >
|
inline |
◆ ttg_register_ptr() [1/2]
template<typename T >
|
inline |
◆ ttg_register_ptr() [2/2]
template<typename T >
|
inline |
◆ ttg_register_status()
|
inline |
◆ ttg_sum()
|
inline |
Variable Documentation
◆ delayed_unpack_actions
|
inline |
◆ static_id_to_op_map
|
inline |
1.9.1