i am working on Windows 7 and Visual Studio 2008.
Have any of you observed that when you call cudaMalloc() on a member variable of any class the memory usage in the taskmanager goes up for that amount allocated? Additionally the memory will not get freed once cudaFree() on that same variable is called.
I observed that the problem only arises when you use cudaMalloc() on member variables and not variables declared in a function like main() for example.
Isn’t it recommended to store pointers to device Data in a Class or an Object?
Best regards, tdhd