You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as shown above, we use cudaMallocAsync to malloc external memory and bind to inBuf.basePtr. but finally, we can't see any cudaFree/cudaFreeAsync to free the allocated memory.
so, does it mean that the tensor created by TensorWrapData(...) takes the ownship of the external allocated memory? or it was just a little mistake that you forgot to call cudaFree/cudaFreeAsync?
if it's real that tensor takes the ownship of the external allocated memory, what can i do to avoid that? in other words, how can i wrap the external allocated memory to a tensor without lost the ownship?
The text was updated successfully, but these errors were encountered:
Does the tensor created by nvcv::TensorWrapData take the ownship of external memory?
the codes 'samples\classification\Main.cpp' make me confused:
as shown above, we use cudaMallocAsync to malloc external memory and bind to inBuf.basePtr. but finally, we can't see any cudaFree/cudaFreeAsync to free the allocated memory.
The text was updated successfully, but these errors were encountered: