Skip to content

Instantly share code, notes, and snippets.

@reqshark
Created January 11, 2018 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reqshark/15e1359bf6d2eec79f6267d522a403ba to your computer and use it in GitHub Desktop.
Save reqshark/15e1359bf6d2eec79f6267d522a403ba to your computer and use it in GitHub Desktop.
asking rocm-smi about GPU power on linux?
miner@rig3:~$ /opt/rocm/bin/rocm-smi -P
==================== ROCm System Management Interface ====================
================================================================================
GPU[1] : Cannot get GPU power Consumption: Average GPU Power not supported
GPU[2] : Cannot get GPU power Consumption: Average GPU Power not supported
GPU[0] : Cannot get GPU power Consumption: Average GPU Power not supported
================================================================================
==================== End of ROCm SMI Log ====================
miner@rig3:~$ /opt/rocm/bin/rocm-smi -s
==================== ROCm System Management Interface ====================
================================================================================
GPU[1] : Supported GPU clock frequencies on GPU1
GPU[1] : 0: 300Mhz *
GPU[1] : 1: 789Mhz
GPU[1] : 2: 952Mhz
GPU[1] : 3: 1041Mhz
GPU[1] : 4: 1106Mhz
GPU[1] : 5: 1168Mhz
GPU[1] : 6: 1209Mhz
GPU[1] : 7: 1321Mhz
GPU[1] :
GPU[1] : Supported GPU Memory clock frequencies on GPU1
GPU[1] : 0: 300Mhz
GPU[1] : 1: 1820Mhz
GPU[1] : 2: 2120Mhz *
GPU[1] :
GPU[2] : Supported GPU clock frequencies on GPU2
GPU[2] : 0: 300Mhz *
GPU[2] : 1: 789Mhz
GPU[2] : 2: 952Mhz
GPU[2] : 3: 1041Mhz
GPU[2] : 4: 1106Mhz
GPU[2] : 5: 1168Mhz
GPU[2] : 6: 1209Mhz
GPU[2] : 7: 1321Mhz
GPU[2] :
GPU[2] : Supported GPU Memory clock frequencies on GPU2
GPU[2] : 0: 300Mhz
GPU[2] : 1: 1820Mhz
GPU[2] : 2: 2120Mhz *
GPU[2] :
GPU[0] : Supported GPU clock frequencies on GPU0
GPU[0] : 0: 300Mhz *
GPU[0] : 1: 789Mhz
GPU[0] : 2: 952Mhz
GPU[0] : 3: 1041Mhz
GPU[0] : 4: 1106Mhz
GPU[0] : 5: 1168Mhz
GPU[0] : 6: 1209Mhz
GPU[0] : 7: 1321Mhz
GPU[0] :
GPU[0] : Supported GPU Memory clock frequencies on GPU0
GPU[0] : 0: 300Mhz *
GPU[0] : 1: 1820Mhz
GPU[0] : 2: 2120Mhz
GPU[0] :
================================================================================
==================== End of ROCm SMI Log ====================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment