我无法看到进程是否使用 GPU。我只看到内存使用情况,但没有看到监控面板中列出的进程。
输入后,nvidia-smi
我看到了以下内容:
# nvidia-smi
Tue Jul 11 12:07:49 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GT 730 Off | 0000:01:00.0 N/A | N/A |
| 64% 70C P0 N/A / N/A | 673MiB / 4040MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GT 730 Off | 0000:02:00.0 N/A | N/A |
| 30% 40C P0 N/A / N/A | 250MiB / 4043MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GT 730 Off | 0000:06:00.0 N/A | N/A |
| 37% 52C P0 N/A / N/A | 251MiB / 4043MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
| 1 Not Supported |
| 2 Not Supported |
+-----------------------------------------------------------------------------+
我尝试使用以下命令重置 GPU:
sudo nvidia-smi --gpu-reset -i 0
但它不起作用。
请帮助我,因为我没有主意。这是 NVCC 输出
# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17