hpx::runtime_mode#

Defined in header hpx/init.hpp.

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

enum class hpx::runtime_mode : std::int8_t#

A HPX runtime can be executed in two different modes: console mode and worker mode.

Values:

enumerator invalid#
enumerator console#

The runtime is the console locality.

enumerator worker#

The runtime is a worker locality.

enumerator connect#

The runtime is a worker locality connecting late

enumerator local#

The runtime is fully local.

enumerator default_#

The runtime mode will be determined based on the command line arguments

enumerator last#