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.
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 20 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¶
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 - xspecifies 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 - __.
Defines
- 
HPX_LIKELY(expr)¶
- Hint at the compiler that - expris likely to be true.
- 
HPX_UNLIKELY(expr)¶
- Hint at the compiler that - expris likely to be false.
Defines
- 
HPX_COMPILER_FENCE¶
- Generates assembly that serves as a fence to the compiler CPU to disable optimization. Usually implemented in the form of a memory barrier. 
- 
HPX_SMT_PAUSE¶
- Generates assembly the executes a “pause” instruction. Useful in spinning loops. 
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_localkeyword. Prefer using- thread_localdirectly instead.
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. 
Defines
- 
HPX_CONSTEXPR¶
- This macro evaluates to - constexprif the compiler supports it.- This macro is deprecated. It is always replaced with the - constexprkeyword. Prefer using- constexprdirectly instead.
- 
HPX_CONSTEXPR_OR_CONST¶
- This macro evaluates to - constexprif the compiler supports it,- constotherwise.- This macro is deprecated. It is always replaced with the - constexprkeyword. Prefer using- constexprdirectly instead.
- 
HPX_INLINE_CONSTEXPR_VARIABLE¶
- This macro evaluates to - inline constexprif the compiler supports it,- constexprotherwise.
- 
HPX_STATIC_CONSTEXPR¶
- This macro evaluates to - static constexprif the compiler supports it,- static constotherwise.- This macro is deprecated. It is always replaced with the - static constexprkeyword. Prefer using- static constexprdirectly instead.
Defines
- 
HPX_DEBUG¶
- Defined if HPX is compiled in debug mode. 
- 
HPX_BUILD_TYPE¶
- Evaluates to - debugif compiled in debug mode,- releaseotherwise.
Defines
- 
HPX_HAVE_DEPRECATION_WARNINGS_V1_4¶
- 
HPX_DEPRECATED_V1_4(x)¶
- 
HPX_HAVE_DEPRECATION_WARNINGS_V1_5¶
- 
HPX_DEPRECATED_V1_5(x)¶
- 
HPX_HAVE_DEPRECATION_WARNINGS_V1_6¶
- 
HPX_DEPRECATED_V1_6(x)¶
- 
HPX_HAVE_DEPRECATION_WARNINGS_V1_7¶
- 
HPX_DEPRECATED_V1_7(x)¶
- 
HPX_HAVE_DEPRECATION_WARNINGS_V1_8¶
- 
HPX_DEPRECATED_V1_8(x)¶
- 
HPX_DEPRECATED_V(major, minor, x)¶
Defines
- 
HPX_NON_COPYABLE(cls)¶
- Marks a class as non-copyable and non-movable. 
Defines
- 
HPX_EXPORT¶
- Marks a class or function to be exported from HPX or imported if it is consumed. 
Defines
- 
HPX_FORCEINLINE¶
- Marks a function to be forced inline. 
Defines
- 
HPX_CAPTURE_FORWARD(var)¶
- Evaluates to - var = std::forward<decltype(var)>(var)if the compiler supports C++14 Lambdas. Defaults to- var.- 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 to- var.- This macro is deprecated. Prefer using - var = std::move(var)directly instead.
Defines
- 
HPX_CXX20_CAPTURE_THIS(...)¶
Defines
- 
HPX_THREADS_STACK_OVERHEAD¶
- 
HPX_SMALL_STACK_SIZE¶
- 
HPX_MEDIUM_STACK_SIZE¶
- 
HPX_LARGE_STACK_SIZE¶
- 
HPX_HUGE_STACK_SIZE¶
Defines
- 
HPX_WEAK_SYMBOL¶