Skip to main content

cudaMemPoolExportPointer

Function cudaMemPoolExportPointer 

Source
pub unsafe extern "C" fn cudaMemPoolExportPointer(
    exportData: *mut cudaMemPoolPtrExportData,
    ptr: *mut c_void,
) -> cudaError_t
Expand description

Export data to share a memory pool allocation between processes.

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

ยงParameters

  • ptr: pointer to memory being exported.