Hi,
There is a mechanism that the driver will keep the memory a little bit longer to improve the performance of the next allocation.
For a more accurate calculation, you can try cudaMemGetInfo.
A sample can be found in the below topic:
Thanks.
Hi,
There is a mechanism that the driver will keep the memory a little bit longer to improve the performance of the next allocation.
For a more accurate calculation, you can try cudaMemGetInfo.
A sample can be found in the below topic:
Thanks.