How to list CUDA devices in Windows 7 using cmd?

How to display a list of available available CUDA devices in Windows 7 using the command line?

Do I need to install additional software for this?

+4
source share
2 answers

There C:\Program Files\NVIDIA Corporation\NVSMIis a utility in the directory nvidia-smi.exe, it can request a lot of different statistics about your GPUs. To list all the GPUs on your system, start it with the option -L.

+7
source

deviceQuery. deviceQuery

nvidia-smi ( CUDA) . , (//) , CUDA. :

Tue Apr  7 12:56:41 2015       
+------------------------------------------------------+                       
| NVIDIA-SMI 346.46     Driver Version: 346.46         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           On   | 0000:05:00.0     Off |                  Off |
| N/A   32C    P8    26W / 149W |     56MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K80           On   | 0000:06:00.0     Off |                  Off |
| N/A   29C    P8    29W / 149W |     56MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
+3

Source: https://habr.com/ru/post/1608454/


All Articles