Chris Freehill
6ff5fbf385
Handle case where PCIe information is not implemented in system
...
Also add a new error code for this.
[ROCm/amdsmi commit: 5e6424cab3 ]
2018-12-19 17:24:27 -06:00
Chris Freehill
01ffc5f17f
Add rsmi_version_get() function
...
Also, modify CMakeLists.txt to use git tags to determine the
shared library version for the SONAME and the ROCm build for the
package name.
[ROCm/amdsmi commit: 5a9a729b31 ]
2018-12-06 13:48:59 -06:00
Chris Freehill
664731b39c
Add get and set routines for PCIe bandwidth
...
[ROCm/amdsmi commit: 9c897ab86d ]
2018-11-16 15:55:38 -06:00
Chris Freehill
a409a4458a
Add rsmi_dev_busy_percent_get()
...
Also: correct some comments, ifdef out unused code
[ROCm/amdsmi commit: 861c2c2e33 ]
2018-11-12 17:25:14 -06:00
Chris Freehill
ee1e4998a7
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/amdsmi commit: 59a952666f ]
2018-11-05 11:22:12 -06:00
Chris Freehill
827476e898
Use sysfs file to get average power instead of debugfs
...
[ROCm/amdsmi commit: 62ba2f578e ]
2018-10-29 17:59:24 -05:00
Chris Freehill
d94b01b69f
Add support for new performance levels
...
Also added tests for new performance levels and clean up some
formatting/style issues.
[ROCm/amdsmi commit: 767fa53d8c ]
2018-10-25 14:13:55 -05:00
Chris Freehill
92557a04e9
Add gtest based testing
...
[ROCm/amdsmi commit: b9c6a5a443 ]
2018-10-24 11:57:03 -05:00