10 #include <ucp/api/ucp.h>
12 #include <ucxx/component.h>
13 #include <ucxx/context.h>
14 #include <ucxx/memory_handle_builder.h>
15 #include <ucxx/remote_key_builder.h>
32 uint64_t _baseAddress{0};
33 ucs_memory_type_t _memoryType{
34 UCS_MEMORY_TYPE_HOST};
59 const ucs_memory_type_t memoryType);
69 friend class detail::ConstructorFactory;
A UCXX component class to prevent early destruction of parent object.
Definition: component.h:21
Component holding a UCP memory handle.
Definition: memory_handle.h:28
uint64_t getBaseAddress()
Get the base address of the memory allocation.
RemoteKeyBuilder remoteKeyBuilder()
Create a builder for a remote key from this memory allocation.
ucp_mem_h getHandle()
Get the underlying ucp_mem_h handle.
size_t getSize() const
Get the size of the memory allocation.
ucs_memory_type_t getMemoryType()
Get the memory type of the allocation.
Builder class for constructing std::shared_ptr<ucxx::RemoteKey> objects.
Definition: remote_key_builder.h:25