11 #include <unordered_map>
13 #include <ucp/api/ucp.h>
36 UCXX_LOG_LEVEL_TRACE_REQ,
37 UCXX_LOG_LEVEL_TRACE_DATA,
38 UCXX_LOG_LEVEL_TRACE_ASYNC,
39 UCXX_LOG_LEVEL_TRACE_FUNC,
40 UCXX_LOG_LEVEL_TRACE_POLL,
58 enum Tag : ucp_tag_t {};
73 static constexpr
TagMask TagMaskFull{std::numeric_limits<std::underlying_type_t<TagMask>>::max()};
81 typedef std::unordered_map<std::string, std::string>
ConfigMap;
147 typedef const std::string AmReceiverCallbackInfoSerialized;
163 typedef const std::string SerializedRemoteKey;
Information of an Active Message receiver callback.
Definition: typedefs.h:154
std::function< void(ucs_status_t, std::shared_ptr< void >)> RequestCallbackUserFunction
A user-defined function to execute as part of a ucxx::Request callback.
Definition: typedefs.h:89
std::shared_ptr< void > RequestCallbackUserData
Data for the user-defined function provided to the ucxx::Request callback.
Definition: typedefs.h:97
std::unordered_map< std::string, std::string > ConfigMap
A UCP configuration map.
Definition: typedefs.h:81
RequestCallbackUserData EndpointCloseCallbackUserData
Data for the user-defined function provided to endpoint close callback.
Definition: typedefs.h:113
TransferDirection
The direction of a UCXX transfer.
Definition: typedefs.h:50
std::function< std::shared_ptr< Buffer >size_t)> AmAllocatorType
Custom Active Message allocator type.
Definition: typedefs.h:121
ucxx_log_level_t
Available logging levels.
Definition: typedefs.h:28
std::function< void(std::shared_ptr< Request >)> AmReceiverCallbackType
Active Message receiver callback.
Definition: typedefs.h:129
uint64_t AmReceiverCallbackIdType
Active Message receiver callback identifier.
Definition: typedefs.h:145
RequestCallbackUserFunction EndpointCloseCallbackUserFunction
A user-defined function to execute after an endpoint closes.
Definition: typedefs.h:105
std::string AmReceiverCallbackOwnerType
Active Message receiver callback owner name.
Definition: typedefs.h:138
TagMask
Strong type for a UCP tag mask.
Definition: typedefs.h:66
Tag
Strong type for a UCP tag.
Definition: typedefs.h:58