Function hip_sys::hiprt::hipIpcCloseMemHandle
source · pub unsafe extern "C" fn hipIpcCloseMemHandle(
devPtr: *mut c_void
) -> hipError_tExpand description
@brief Close memory mapped with hipIpcOpenMemHandle
Unmaps memory returnd by hipIpcOpenMemHandle. 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.
@param devPtr - Device pointer returned by hipIpcOpenMemHandle
@returns hipSuccess, hipErrorMapFailed, hipErrorInvalidHandle,