Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display enhancements for device_query.py #497

Merged
merged 1 commit into from
Jan 7, 2016

Conversation

lukeyeager
Copy link
Member

Makes device_query.py more useful. Previously, the output was 159 lines long (on my machine with 3 GPUs). Output is now 42 lines, with a --verbose option that allows you to see all the information if you still really need it.

$ ./device_query.py 
Device #0:
>>> CUDA attributes:
  name                         GeForce GTX TITAN Z
  totalGlobalMem               6432907264
  clockRate                    875500
  major                        3
  minor                        5
>>> NVML attributes:
  Total memory                 6134 MB
  Used memory                  771 MB
  Memory utilization           2%
  GPU utilization              9%
  Temperature                  45 C

Device #1:
>>> CUDA attributes:
  name                         GeForce GTX TITAN Z
  totalGlobalMem               6442254336
  clockRate                    875500
  major                        3
  minor                        5
>>> NVML attributes:
  Total memory                 6143 MB
  Used memory                  15 MB
  Memory utilization           0%
  GPU utilization              0%
  Temperature                  39 C

Device #2:
>>> CUDA attributes:
  name                         Tesla K40c
  totalGlobalMem               12079136768
  clockRate                    745000
  major                        3
  minor                        5
>>> NVML attributes:
  Total memory                 11519 MB
  Used memory                  23 MB
  Memory utilization           0%
  GPU utilization              0%
  Temperature                  31 C

lukeyeager added a commit that referenced this pull request Jan 7, 2016
Display enhancements for device_query.py
@lukeyeager lukeyeager merged commit 5557b0b into NVIDIA:master Jan 7, 2016
@lukeyeager lukeyeager deleted the device-query-upgrade branch January 7, 2016 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant