cudaError_t cudaIpcCloseMemHandle ( void *  devPtr  ) 

/brief Close memory mapped with cudaIpcOpenMemHandle

Unmaps memory returnd by cudaIpcOpenMemHandle. The original allocation in the exporting process as well as imported mappings in other processes will be unaffected.

Any resources used to enable peer access will be freed if this is the last mapping using them.

IPC functionality is restricted to devices with support for unified addressing on Linux operating systems.

Parameters:
devPtr - Device pointer returned by cudaIpcOpenMemHandle
Returns:
cudaSuccess, cudaErrorMapBufferObjectFailed, cudaErrorInvalidResourceHandle,
See also:
cudaMemAlloc, cudaMemFree, cudaIpcGetEventHandle, cudaIpcOpenEventHandle, cudaIpcGetMemHandle, cudaIpcOpenMemHandle,


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA