I double-checked and the cuda driver releases all GPU memory allocated by a program upon termination. I also have addQuitProc to make sure I release all my handles.
I guess I'll also add a GC_fullCollect to the exit procedure.
I double-checked and the cuda driver releases all GPU memory allocated by a program upon termination. I also have addQuitProc to make sure I release all my handles.
I guess I'll also add a GC_fullCollect to the exit procedure.