My CUDA program crashed during execution, before memory was flushed. As a result, device memory remained occupied.
I\'m running on a GTX 580, for which nvidia-
nvidia-
One can also use nvtop, which gives an interface very similar to htop, but showing your GPU(s) usage instead, with a nice graph. You can also kill processes directly from here.
nvtop
htop
Here is a link to its Github : https://github.com/Syllo/nvtop
NVTOP interface