cudamalloc

CUDA - Maintain pointers to global memory

I have a .NET program that is utilizing CUDA. The CUDA is accessed through a C DLL. What I am doing is initializing my CUDA application by allocating buffers (cudaMalloc) on the device at program startup. Pointers to these buffers are then maintained in static variables declared in the DLL. Data is copied to and from the buffers thro...

CUDA - Bus Error

I have been working with CUDA for a while now and started to have bus errors reported on the first attempt to malloc any data to the GPU after working for a short period of time. The only way that i have found to fix this is to restart the machine. The memory should be cleared up automatically but it does not seem to happen if the ap...