C Specification
To export an address representing the payload of a Vulkan device memory object accessible by remote devices, call:
// Provided by VK_NV_external_memory_rdma
VkResult vkGetMemoryRemoteAddressNV(
VkDevice device,
const VkMemoryGetRemoteAddressInfoNV* pMemoryGetRemoteAddressInfo,
VkRemoteAddressNV* pAddress);
Parameters
-
device
is the logical device that created the device memory being exported. -
pMemoryGetRemoteAddressInfo
is a pointer to a VkMemoryGetRemoteAddressInfoNV structure containing parameters of the export operation. -
pAddress
will return the address representing the payload of the device memory object.
Description
More communication may be required between the kernel-mode drivers of the devices involved. This information is out of scope of this documentation and should be requested from the vendors of the devices.
See Also
VK_NV_external_memory_rdma, VkDevice, VkMemoryGetRemoteAddressInfoNV, VkRemoteAddressNV
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.