config¶
The contents of this module can be included with the header
hpx/modules/config.hpp
. These headers may be used by user-code but are not
guaranteed stable (neither header location nor contents). You are using these at
your own risk. If you wish to use non-public functionality from a module we
strongly suggest only including the module header hpx/modules/config.hpp
, not
the particular header in which the functionality you would like to use is
defined. See Public API for a list of names that are part of the public
HPX API.
Header hpx/config.hpp
¶
Defines
-
HPX_INITIAL_IP_PORT
¶ This is the default ip/port number used by the parcel subsystem.
-
HPX_CONNECTING_IP_PORT
¶
-
HPX_INITIAL_IP_ADDRESS
¶
-
HPX_RUNTIME_INSTANCE_LIMIT
¶ This defines the maximum number of possible runtime instances in one executable
-
HPX_PARCEL_BOOTSTRAP
¶ This defines the type of the parcelport to be used during application bootstrap. This value can be changed at runtime by the configuration parameter:
hpx.parcel.bootstrap = …
(or by setting the corresponding environment variable HPX_PARCEL_BOOTSTRAP).
-
HPX_PARCEL_MAX_CONNECTIONS
¶ This defines the number of outgoing (parcel-) connections kept alive (to all other localities). This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.max_connections = …
(or by setting the corresponding environment variable HPX_PARCEL_MAX_CONNECTIONS).
-
HPX_PARCEL_IPC_DATA_BUFFER_CACHE_SIZE
¶ This defines the number of outgoing ipc (parcel-) connections kept alive (to each of the other localities on the same node). This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.ipc.data_buffer_cache_size = …
(or by setting the corresponding environment variable HPX_PARCEL_IPC_DATA_BUFFER_CACHE_SIZE).
-
HPX_PARCEL_MPI_MAX_REQUESTS
¶ This defines the number of MPI requests in flight This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.mpi.max_requests = …
(or by setting the corresponding environment variable HPX_PARCEL_MPI_MAX_REQUESTS).
-
HPX_PARCEL_MAX_CONNECTIONS_PER_LOCALITY
¶ This defines the number of outgoing (parcel-) connections kept alive (to each of the other localities). This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.max_connections_per_locality = …
(or by setting the corresponding environment variable HPX_PARCEL_MAX_CONNECTIONS_PER_LOCALITY).
-
HPX_PARCEL_MAX_MESSAGE_SIZE
¶ This defines the maximally allowed message size for messages transferred between localities. This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.max_message_size = …
(or by setting the corresponding environment variable HPX_PARCEL_MAX_MESSAGE_SIZE).
-
HPX_PARCEL_MAX_OUTBOUND_MESSAGE_SIZE
¶ This defines the maximally allowed outbound message size for coalescing messages transferred between localities. This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.max_outbound_message_size = …
(or by setting the corresponding environment variable HPX_PARCEL_MAX_OUTBOUND_MESSAGE_SIZE).
-
HPX_PARCEL_SERIALIZATION_OVERHEAD
¶
-
HPX_AGAS_LOCAL_CACHE_SIZE
¶ This defines the number of AGAS address translations kept in the local cache. This is just the initial size which may be adjusted depending on the load of the system (not implemented yet), etc. It must be a minimum of 3 for AGAS v3 bootstrapping.
This value can be changes at runtime by setting the configuration parameter:
hpx.agas.local_cache_size = …
(or by setting the corresponding environment variable HPX_AGAS_LOCAL_CACHE_SIZE)
-
HPX_INITIAL_AGAS_MAX_PENDING_REFCNT_REQUESTS
¶
-
HPX_GLOBALCREDIT_INITIAL
¶ This defines the initial global reference count associated with any created object.
-
HPX_NUM_IO_POOL_SIZE
¶ This defines the default number of OS-threads created for the different internal thread pools
-
HPX_NUM_PARCEL_POOL_SIZE
¶
-
HPX_NUM_TIMER_POOL_SIZE
¶
-
HPX_SPINLOCK_DEADLOCK_DETECTION_LIMIT
¶ By default, enable minimal thread deadlock detection in debug builds only.
-
HPX_COROUTINE_NUM_HEAPS
¶ This defines the default number of coroutine heaps.
-
HPX_HAVE_THREAD_BACKTRACE_DEPTH
¶ By default, enable storing the thread phase in debug builds only.
By default, enable storing the parent thread information in debug builds only.By default, enable storing the thread description in debug builds only. By default, enable storing the target address of the data the thread is accessing in debug builds only. By default we do not maintain stack back-traces on suspension. This is a pure debugging aid to be able to see in the debugger where a suspended thread got stuck. By default we capture only 5 levels of stack back trace on suspension
-
HPX_MAX_NETWORK_RETRIES
¶
-
HPX_NETWORK_RETRIES_SLEEP
¶
-
HPX_INI_PATH_DELIMITER
¶
-
HPX_PATH_DELIMITERS
¶
-
HPX_SHARED_LIB_EXTENSION
¶
-
HPX_EXECUTABLE_EXTENSION
¶
-
HPX_MAKE_DLL_STRING
(n)¶
-
HPX_MANGLE_NAME
(n)¶
-
HPX_MANGLE_STRING
(n)¶
-
HPX_COMPONENT_NAME_DEFAULT
¶
-
HPX_COMPONENT_NAME
¶
-
HPX_COMPONENT_STRING
¶
-
HPX_PLUGIN_COMPONENT_PREFIX
¶
-
HPX_PLUGIN_NAME_DEFAULT
¶
-
HPX_PLUGIN_NAME
¶
-
HPX_PLUGIN_STRING
¶
-
HPX_PLUGIN_PLUGIN_PREFIX
¶
-
HPX_APPLICATION_STRING
¶
-
HPX_IDLE_LOOP_COUNT_MAX
¶
-
HPX_BUSY_LOOP_COUNT_MAX
¶
-
HPX_THREAD_QUEUE_MAX_THREAD_COUNT
¶
-
HPX_THREAD_QUEUE_MIN_TASKS_TO_STEAL_PENDING
¶
-
HPX_THREAD_QUEUE_MIN_TASKS_TO_STEAL_STAGED
¶
-
HPX_THREAD_QUEUE_MIN_ADD_NEW_COUNT
¶
-
HPX_THREAD_QUEUE_MAX_ADD_NEW_COUNT
¶
-
HPX_THREAD_QUEUE_MIN_DELETE_COUNT
¶
-
HPX_THREAD_QUEUE_MAX_DELETE_COUNT
¶
-
HPX_THREAD_QUEUE_MAX_TERMINATED_THREADS
¶
-
HPX_IDLE_BACKOFF_TIME_MAX
¶
-
HPX_WRAPPER_HEAP_STEP
¶
-
HPX_INITIAL_GID_RANGE
¶
-
HPX_CONTINUATION_MAX_RECURSION_DEPTH
¶
-
HPX_AGAS_BOOTSTRAP_PREFIX
¶
-
HPX_AGAS_NS_MSB
¶
-
HPX_AGAS_PRIMARY_NS_MSB
¶
-
HPX_AGAS_PRIMARY_NS_LSB
¶
-
HPX_AGAS_COMPONENT_NS_MSB
¶
-
HPX_AGAS_COMPONENT_NS_LSB
¶
-
HPX_AGAS_SYMBOL_NS_MSB
¶
-
HPX_AGAS_SYMBOL_NS_LSB
¶
-
HPX_AGAS_LOCALITY_NS_MSB
¶
-
HPX_AGAS_LOCALITY_NS_LSB
¶
Header hpx/config/asio.hpp
¶
Header hpx/config/attributes.hpp
¶
Defines
-
HPX_NOINLINE
¶ Function attribute to tell compiler not to inline the function.
-
HPX_NORETURN
¶ Function attribute to tell compiler that the function does not return.
-
HPX_DEPRECATED
(x)¶ Marks an entity as deprecated. The argument
x
specifies a custom message that is included in the compiler warning. For more details see<>
__.
-
HPX_FALLTHROUGH
¶ Indicates that the fall through from the previous case label is intentional and should not be diagnosed by a compiler that warns on fallthrough. For more details see
<>
__.
-
HPX_NODISCARD
¶ If a function declared nodiscard or a function returning an enumeration or class declared nodiscard by value is called from a discarded-value expression other than a cast to void, the compiler is encouraged to issue a warning. For more details see
__.
-
HPX_NO_UNIQUE_ADDRESS
¶ Indicates that this data member need not have an address distinct from all other non-static data members of its class. For more details see
__.
Header hpx/config/autolink.hpp
¶
Header hpx/config/branch_hints.hpp
¶
Header hpx/config/compiler_fence.hpp
¶
Header hpx/config/compiler_native_tls.hpp
¶
Defines
-
HPX_NATIVE_TLS
¶ This macro is replaced with the compiler specific keyword attribute to mark a variable as thread local. For more details see
<
__.This macro is deprecated. It is always replaced with the
thread_local
keyword. Prefer usingthread_local
directly instead.
Header hpx/config/compiler_specific.hpp
¶
Defines
-
HPX_GCC_VERSION
¶ Returns the GCC version HPX is compiled with. Only set if compiled with GCC.
-
HPX_CLANG_VERSION
¶ Returns the Clang version HPX is compiled with. Only set if compiled with Clang.
-
HPX_INTEL_VERSION
¶ Returns the Intel Compiler version HPX is compiled with. Only set if compiled with the Intel Compiler.
-
HPX_MSVC
¶ This macro is set if the compilation is with MSVC.
-
HPX_MINGW
¶ This macro is set if the compilation is with Mingw.
-
HPX_WINDOWS
¶ This macro is set if the compilation is for Windows.
-
HPX_NATIVE_MIC
¶ This macro is set if the compilation is for Intel Knights Landing.
Header hpx/config/constexpr.hpp
¶
Defines
-
HPX_CONSTEXPR
¶ This macro evaluates to
constexpr
if the compiler supports it.This macro is deprecated. It is always replaced with the
constexpr
keyword. Prefer usingconstexpr
directly instead.
-
HPX_CONSTEXPR_OR_CONST
¶ This macro evaluates to
constexpr
if the compiler supports it,const
otherwise.This macro is deprecated. It is always replaced with the
constexpr
keyword. Prefer usingconstexpr
directly instead.
-
HPX_INLINE_CONSTEXPR_VARIABLE
¶ This macro evaluates to
inline constexpr
if the compiler supports it,constexpr
otherwise.
-
HPX_STATIC_CONSTEXPR
¶ This macro evaluates to
static constexpr
if the compiler supports it,static const
otherwise.This macro is deprecated. It is always replaced with the
static constexpr
keyword. Prefer usingstatic constexpr
directly instead.
Header hpx/config/debug.hpp
¶
Header hpx/config/deprecation.hpp
¶
Header hpx/config/emulate_deleted.hpp
¶
Defines
-
HPX_NON_COPYABLE
(cls)¶ Marks a class as non-copyable and non-movable.
Header hpx/config/export_definitions.hpp
¶
Defines
-
HPX_EXPORT
¶ Marks a class or function to be exported from HPX or imported if it is consumed.
Header hpx/config/lambda_capture.hpp
¶
Defines
-
HPX_CAPTURE_FORWARD
(var)¶ Evaluates to
var = std::forward<decltype(var)>(var)
if the compiler supports C++14 Lambdas. Defaults tovar
.This macro is deprecated. Prefer using
var = std::forward<decltype(var)>(var)
directly instead.
-
HPX_CAPTURE_MOVE
(var)¶ Evaluates to
var = std::move(var)
if the compiler supports C++14 Lambdas. Defaults tovar
.This macro is deprecated. Prefer using
var = std::move(var)
directly instead.