hipmempoolexportpointer Interface Reference

hipmempoolexportpointer Interface Reference#

HIPFORT API Reference: hipfort::hipmempoolexportpointer Interface Reference
hipfort::hipmempoolexportpointer Interface Reference

Export data to share a memory pool allocation between processes. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmempoolexportpointer_ (export_data, dev_ptr)
 

Detailed Description

Export data to share a memory pool allocation between processes.

Constructs export_data for sharing a specific allocation from an already shared memory pool. The recipient process can import the allocation with the hipMemPoolImportPointer api. The data is not a handle and may be shared through any IPC mechanism.

Parameters
[out]export_data- Returned export data
[in]dev_ptr- Pointer to memory being exported
Returns
hipSuccess, hipErrorInvalidValue, hipErrorOutOfMemory
See also
hipMemPoolImportPointer
Warning
This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.
Note
This API is implemented on Linux and is under development on Microsoft Windows.

Member Function/Subroutine Documentation

◆ hipmempoolexportpointer_()

integer(kind(hipsuccess)) function hipfort::hipmempoolexportpointer::hipmempoolexportpointer_ ( type(hipmempoolptrexportdata export_data,
type(c_ptr), value  dev_ptr 
)

The documentation for this interface was generated from the following file: