cuda.bindings._v2.driver.mem_pool_export_pointer#

cuda.bindings._v2.driver.mem_pool_export_pointer(uint64_t ptr)#

Export data to share a memory pool allocation between processes.

Constructs share_data_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.

Parameters:

ptr (uint64_t) – pointer to memory being exported.

Returns:

Returned export data.

Return type:

CUmemPoolPtrExportData_v1

See also

cuMemPoolExportPointer