hipMemRelease

Function hipMemRelease 

Source
pub unsafe extern "C" fn hipMemRelease(
    handle: hipMemGenericAllocationHandle_t,
) -> hipError_t
Expand description

@brief Release a memory handle representing a memory allocation which was previously allocated through hipMemCreate.

@param [in] handle - handle of the memory allocation. @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.