pub unsafe extern "C" fn cudaMemPoolImportFromShareableHandle(
memPool: *mut cudaMemPool_t,
shareableHandle: *mut c_void,
handleType: cudaMemAllocationHandleType,
flags: c_uint,
) -> cudaError_tExpand description
imports a memory pool from a shared handle.
Specific allocations can be imported from the imported pool with cudaMemPoolImportPointer.
Note: Imported memory pools do not support creating new allocations. As such imported memory pools may not be used in cudaDeviceSetMemPool or cudaMallocFromPoolAsync calls.
§Parameters
handleType: The type of handle being imported.flags: must be 0.
§Return value
See also: cuMemPoolImportFromShareableHandle, cudaMemPoolExportToShareableHandle, cudaMemPoolExportPointer, cudaMemPoolImportPointer.