pub unsafe extern "C" fn cuMemPoolExportPointer(
shareData_out: *mut CUmemPoolPtrExportData,
ptr: CUdeviceptr,
) -> CUresult
Expand description
\brief Export data to share a memory pool allocation between processes.
Constructs \p shareData_out for sharing a specific allocation from an already shared memory pool. The recipient process can import the allocation with the ::cuMemPoolImportPointer api. The data is not a handle and may be shared through any IPC mechanism.
\param[out] shareData_out - Returned export data \param[in] ptr - pointer to memory being exported
\returns ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_OUT_OF_MEMORY
\sa ::cuMemPoolExportToShareableHandle, ::cuMemPoolImportFromShareableHandle, ::cuMemPoolImportPointer