|
| | pressio_distributed_manager (unsigned int max_ranks_per_worker=1, unsigned int max_masters=1) |
| |
| template<class TaskRandomIt , class MasterFn , class WorkerFn > |
| int | work_queue (TaskRandomIt begin, TaskRandomIt end, WorkerFn &&workerfn, MasterFn &&masterfn) |
| |
| template<class T > |
| int | send (T const &t, int dest, int tag=0) |
| |
| template<class T > |
| int | recv (T &t, int source, int tag=0, MPI_Status *s=nullptr) |
| |
| template<class T > |
| int | bcast (T &t, int bcast_root) |
| |
| template<class T > |
| int | bcast (T &t) |
| |
| int | comm_size () const |
| |
| int | comm_rank () const |
| |
| struct pressio_options | get_documentation () const override |
| |
| struct pressio_options | get_options () const override |
| |
| virtual int | set_options (struct pressio_options const &options) override |
| |
| const char * | prefix () const override |
| |
| virtual const char * | prefix () const =0 |
| |
| std::string const & | get_name () const |
| |
| virtual void | set_name (std::string const &new_name) |
| |
| virtual void | set_name_impl (std::string const &new_name) |
| |
| virtual struct pressio_options | get_configuration () const |
| |
| virtual struct pressio_options | get_documentation () const |
| |
| virtual int | check_options (struct pressio_options const &) |
| |
| virtual struct pressio_options | get_options () const |
| |
| virtual int | set_options (struct pressio_options const &options) |
| |
|
int | cast_options (pressio_options const &early_config, pressio_options const &config) |
| |
| const char * | error_msg () const |
| |
| int | error_code () const |
| |
|
| template<class StringType > |
| void | set (pressio_options &options, StringType const &key, pressio_option const &value) const |
| |
| template<class StringType > |
| void | set_type (pressio_options &options, StringType const &key, pressio_option_type type) const |
| |
| template<class StringType , class PointerType > |
| enum pressio_options_key_status | get (pressio_options const &options, StringType &&key, PointerType value) const |
| |
| template<class StringType , class Wrapper , class... Args> |
| void | set_meta (pressio_options &options, StringType &&key, std::string const ¤t_id, Wrapper const ¤t_value, Args &&... args) const |
| |
| template<class StringType , class Wrapper , class... Args> |
| void | set_meta_docs (pressio_options &options, StringType &&key, std::string const &docstring, Wrapper const ¤t_value, Args &&... args) const |
| |
| template<class StringType , class Wrapper , class Registry , class... Args> |
| void | set_meta_configuration (pressio_options &options, StringType &&key, Registry const ®istry, Wrapper const ¤t_value) const |
| |
| template<class StringType , class Wrapper , class Registry , class... Args> |
| void | set_meta_many_configuration (pressio_options &options, StringType &&key, Registry const ®istry, std::vector< Wrapper > const ¤t_values) const |
| |
| template<class StringType , class Wrapper , class... Args> |
| void | set_meta_many_docs (pressio_options &options, StringType &&key, std::string const &docstring, std::vector< Wrapper > const ¤t_values, Args &&... args) const |
| |
| template<class StringType , class Wrapper , class... Args> |
| void | set_meta_many (pressio_options &options, StringType &&key, std::vector< std::string > const ¤t_ids, std::vector< Wrapper > const ¤t_values, Args &&... args) const |
| |
| template<class StringType , class Registry , class Wrapper > |
| pressio_options_key_status | get_meta (pressio_options const &options, StringType &&key, Registry const ®istry, std::string ¤t_id, Wrapper ¤t_value) |
| |
| template<class StringType , class Registry , class Wrapper > |
| pressio_options_key_status | get_meta_many (pressio_options const &options, StringType &&key, Registry const ®istry, std::vector< std::string > ¤t_ids, std::vector< Wrapper > ¤t_values) |
| |
| template<class T > |
| void | set_names_many (std::string const &name, std::vector< T > &plugins, std::vector< std::string > const &names) const |
| |
| std::string | get_metrics_key_name () const |
| |
| int | set_error (int code, std::string const &msg) |
| |
| void | clear_error () |
| |
| static pressio_thread_safety | get_threadsafe (pressio_configurable const &c) |
| |
| std::string | name |
| |
helper class for interacting with libdistributed