Cleanup CudaSolver