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

后端 未结 7 815
不知归路
不知归路 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

提交回复
热议问题