如何从命令行获取nvidia驱动程序版本?

为了调试CUDA代码并检查兼容性,我需要找出已安装的GPU的nvidia驱动程序版本。我找到了如何获取cuda版本?但这对我没有帮助。

回答:

使用nvidia-smi应该告诉您:

bwood@mybox:~$ nvidia-smi 

Mon Oct 29 12:30:02 2012

+------------------------------------------------------+

| NVIDIA-SMI 3.295.41 Driver Version: 295.41 |

|-------------------------------+----------------------+----------------------+

| Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |

| Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |

|===============================+======================+======================|

| 0. GeForce GTX 580 | 0000:25:00.0 N/A | N/A N/A |

| 54% 70 C N/A N/A / N/A | 25% 383MB / 1535MB | N/A Default |

|-------------------------------+----------------------+----------------------|

| Compute processes: GPU Memory |

| GPU PID Process name Usage |

|=============================================================================|

| 0. Not Supported |

+-----------------------------------------------------------------------------+

以上是 如何从命令行获取nvidia驱动程序版本? 的全部内容, 来源链接: utcz.com/qa/424026.html

回到顶部