mem Pool Trim To
Tries to release memory back to the OS. (cuMemPoolTrimTo)
Parameters
pool
The memory pool to trim
min Bytes To Keep
If the pool has less than minBytesToKeep reserved, the TrimTo operation is a no-op. Otherwise the pool will be guaranteed to have at least minBytesToKeep bytes reserved after the operation.