deviceGraphMemTrim

external fun deviceGraphMemTrim(device: Int): Int

Free unused memory that was cached on the specified device for use with graphs back to the OS. (cudaDeviceGraphMemTrim)

Parameters

device

The device for which cached memory should be freed.