hpx/runtime_configuration/runtime_mode.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
Enums
-
enum
runtime_mode
¶ A HPX runtime can be executed in two different modes: console mode and worker mode.
Values:
-
invalid
= -1¶
-
console
= 0¶ The runtime is the console locality.
-
worker
= 1¶ The runtime is a worker locality.
-
connect
= 2¶ The runtime is a worker locality connecting late
-
local
= 3¶ The runtime is fully local.
-
default_
= 4¶ The runtime mode will be determined based on the command line arguments
-
last
¶
-
Functions
-
char const *
get_runtime_mode_name
(runtime_mode state)¶ Get the readable string representing the name of the given runtime_mode constant.
-
runtime_mode
get_runtime_mode_from_name
(std::string const &mode)¶ Returns the internal representation (runtime_mode constant) from the readable string representing the name.
This represents the internal representation from the readable string representing the name.
- Parameters
mode
: this represents the runtime mode
-
enum