Commit Graph

4 Commits

Author SHA1 Message Date
Chris Freehill 3ccce7ddbb Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()


[ROCm/rocm_smi_lib commit: 59a952666f]
2018-11-05 11:22:12 -06:00
Chris Freehill 8a6704659d Use sysfs file to get average power instead of debugfs
[ROCm/rocm_smi_lib commit: 62ba2f578e]
2018-10-29 17:59:24 -05:00
Chris Freehill cf2b565985 Add support for new performance levels
Also added tests for new performance levels and clean up some
formatting/style issues.


[ROCm/rocm_smi_lib commit: 767fa53d8c]
2018-10-25 14:13:55 -05:00
Chris Freehill 71d80e88c2 Add gtest based testing
[ROCm/rocm_smi_lib commit: b9c6a5a443]
2018-10-24 11:57:03 -05:00