When i release the gpumat from bufferPoll,but data is still in memory

Ignore my previous comment.

All alocations as far as I am aware use a variant of cudaMalloc which states in the documentation that

The memory is not cleared.

Therefore it is not safe to make any assumptions regarding the initial values of any empty GpuMat containers.

1 Like