config¶
See Public API for a list of names and headers 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_HAVE_PARCELPORT_MPI_BACKGROUND_THREADS
¶ This defines the number of cores that perform background work for the MPI parcelport This value can be changed at runtime by setting the configuration parameter:
hpx.parcel.mpi.background_threads = …
(or by setting the corresponding environment variable HPX_HAVE_PARCELPORT_MPI_BACKGROUND_THREADS).
-
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 we capture only 20 levels of stack back trace on suspension.
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.
-
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_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_THREAD_QUEUE_INIT_THREADS_COUNT
¶
-
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_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
expr
is likely to be true.
-
HPX_UNLIKELY
(expr)¶ Hint at the compiler that
expr
is 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_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_HOST_DEVICE_INLINE_CONSTEXPR_VARIABLE
¶ This macro evaluates to
inline constexpr
for host code and.
Defines
-
HPX_DEBUG
¶ Defined if HPX is compiled in debug mode.
-
HPX_BUILD_TYPE
¶ Evaluates to
debug
if compiled in debug mode,release
otherwise.
Defines
-
HPX_HAVE_DEPRECATION_WARNINGS_V1_7
¶
-
HPX_DEPRECATED_V1_7
(x)¶
-
HPX_HAVE_DEPRECATION_WARNINGS_V1_8
¶
-
HPX_DEPRECATED_V1_8
(x)¶
-
HPX_HAVE_DEPRECATION_WARNINGS_V1_9
¶
-
HPX_DEPRECATED_V1_9
(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_FORWARD
(T, ...)¶
Defines
-
HPX_CXX20_CAPTURE_THIS
(...)¶
Defines
-
HPX_MOVE
(...)¶
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
¶