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. (cuDeviceGraphMemTrim)