hpx/init_runtime_local/init_runtime_local.hpp

See Public API for a list of names and headers that are part of the public HPX API.

Defines

HPX_PREFIX
HPX_APPLICATION_STRING
namespace hpx
namespace local

Functions

int init(std::function<int(hpx::program_options::variables_map&)> f, int argc, char **argv, init_params const &params = init_params(), )
int init(std::function<int(int, char**)> f, int argc, char **argv, init_params const &params = init_params(), )
int init(std::function<int()> fint argc, char **argv, init_params const &params = init_params(), )
int init(std::nullptr_t, int argc, char **argv, init_params const &params = init_params())
bool start(std::function<int(hpx::program_options::variables_map&)> f, int argc, char **argv, init_params const &params = init_params(), )
bool start(std::function<int(int, char**)> f, int argc, char **argv, init_params const &params = init_params(), )
bool start(std::function<int()> fint argc, char **argv, init_params const &params = init_params(), )
bool start(std::nullptr_t, int argc, char **argv, init_params const &params = init_params())
int finalize(error_code &ec = throws)
int stop(error_code &ec = throws)
int suspend(error_code &ec = throws)
int resume(error_code &ec = throws)
struct init_params

Public Members

std::reference_wrapper<hpx::program_options::options_description const> desc_cmdline = detail::default_desc
std::vector<std::string> cfg
startup_function_type startup
shutdown_function_type shutdown
hpx::resource::partitioner_mode rp_mode = ::hpx::resource::mode_default
hpx::local::detail::rp_callback_type rp_callback