hipDeviceGraphMemTrim

Function hipDeviceGraphMemTrim 

Source
pub unsafe extern "C" fn hipDeviceGraphMemTrim(
    device: c_int,
) -> hipError_t
Expand description

@brief Free unused memory reserved for graphs on a specific device and return it back to the OS.

@param [in] device - Device for which memory should be trimmed @returns #hipSuccess, #hipErrorInvalidDevice

@warning This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.