pub unsafe extern "C" fn hipMemUnmap(
ptr: *mut c_void,
size: usize,
) -> hipError_t
Expand description
@brief Unmap memory allocation of a given address range.
@param [in] ptr - starting address of the range to unmap. @param [in] size - size of the virtual address range. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.
@note This API is implemented on Linux, under development on Windows.