Function hip_runtime_sys::hipMemRelease
source · pub unsafe extern "C" fn hipMemRelease(
handle: hipMemGenericAllocationHandle_t
) -> hipError_tExpand 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, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.