Ask Your Question

Revision history [back]

How to deallocate (free, release) cv::cuda::GpuMat?

I tried to use GpuMat.release() function to release the GpuMat I've created. However, nvidia-smi showed that the GPU memory usage does not decrease after I do that, why is it the case? Thanks.