How can I flush GPU memory using CUDA (physical reset is unavailable)

后端 未结 7 804
不知归路
不知归路 2020-12-13 01:39

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-

相关标签:
7条回答
  • 2020-12-13 02:26

    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.

    Here is a link to its Github : https://github.com/Syllo/nvtop

    NVTOP interface

    0 讨论(0)
提交回复
热议问题