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()};
101 typedef std::unordered_map<std::string, std::string>
ConfigMap;
Information of an Active Message receiver callback.
Definition: typedefs.h:181
AmReceiverCallbackInfo(const AmReceiverCallbackOwnerType owner, AmReceiverCallbackIdType id)
Construct an AmReceiverCallbackInfo object.
const AmReceiverCallbackIdType id
The unique identifier of the callback.
Definition: typedefs.h:184
const AmReceiverCallbackOwnerType owner
The owner name of the callback.
Definition: typedefs.h:183
Information about probed tag message.
Definition: typedefs.h:81
size_t length
The size of the received data.
Definition: typedefs.h:84
TagRecvInfo(const ucp_tag_recv_info_t &info)
Construct a TagRecvInfo object from a UCP tag receive info structure.
Tag senderTag
Sender tag.
Definition: typedefs.h:83
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:109
std::shared_ptr< void > RequestCallbackUserData
Data for the user-defined function provided to the ucxx::Request callback.
Definition: typedefs.h:117
std::unordered_map< std::string, std::string > ConfigMap
A UCP configuration map.
Definition: typedefs.h:101
RequestCallbackUserData EndpointCloseCallbackUserData
Data for the user-defined function provided to endpoint close callback.
Definition: typedefs.h:133
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:141
const std::string AmReceiverCallbackInfoSerialized
Serialized form of Active Message receiver callback information.
Definition: typedefs.h:174
const std::string SerializedRemoteKey
Serialized form of a remote key.
Definition: typedefs.h:203
ucxx_log_level_t
Available logging levels.
Definition: typedefs.h:28
uint64_t AmReceiverCallbackIdType
Active Message receiver callback identifier.
Definition: typedefs.h:166
RequestCallbackUserFunction EndpointCloseCallbackUserFunction
A user-defined function to execute after an endpoint closes.
Definition: typedefs.h:125
std::string AmReceiverCallbackOwnerType
Active Message receiver callback owner name.
Definition: typedefs.h:159
TagMask
Strong type for a UCP tag mask.
Definition: typedefs.h:66
Tag
Strong type for a UCP tag.
Definition: typedefs.h:58
std::function< void(std::shared_ptr< Request >, ucp_ep_h)> AmReceiverCallbackType
Active Message receiver callback.
Definition: typedefs.h:150