Function hip_runtime_sys::hipMemRetainAllocationHandle
source · pub unsafe extern "C" fn hipMemRetainAllocationHandle(
handle: *mut hipMemGenericAllocationHandle_t,
addr: *mut c_void
) -> hipError_tExpand description
@brief Returns the allocation handle of the backing memory allocation given the address.
@param [out] handle - handle representing addr. @param [in] addr - address to look up. @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.