hipMemRetainAllocationHandle

Function hipMemRetainAllocationHandle 

Source
pub unsafe extern "C" fn hipMemRetainAllocationHandle(
    handle: *mut hipMemGenericAllocationHandle_t,
    addr: *mut c_void,
) -> hipError_t
Expand 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. While this feature is complete, it can change and might have outstanding issues.

@note This API is implemented on Linux and is under development on Microsoft Windows.