pub unsafe extern "C" fn cuDeviceGraphMemTrim(
device: CUdevice,
) -> CUresult
Expand description
\brief Free unused memory that was cached on the specified device for use with graphs back to the OS.
Blocks which are not in use by a graph that is either currently executing or scheduled to execute are freed back to the operating system.
\param device - The device for which cached memory should be freed.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_DEVICE
\sa ::cuGraphAddMemAllocNode, ::cuGraphAddMemFreeNode, ::cuDeviceSetGraphMemAttribute, ::cuDeviceGetGraphMemAttribute