cuda - managedCuda C# free GPU Memory -
I am using C # with managedcuda lib, I assign memory on GPU with this command: CudaDeviceVariable name = New CudaDeviceVariable (length); And it works fine. But I can not find the command to free it from the GPU.
Thank you in advance) =
Use It also means that you can use the syntax of this work: names Conflict (); -
CudaDeviceVariable is a
IDisposable .
Use
(var name = new CudaDeviceVariable (length)) {// work }
Comments
Post a Comment