How to reset Fermi GPU memory

After running the simulation for a few times and forcing it to stop by Ctrl-C, I face the problem ¨out of memory¨. The Fermi device memory become full of garbage data. Is there a way to reset the GPU without restart the whole machine?