Also, don't return an error for empty sysfs files. The reserved memory
page file will often have no lines. We don't want it to appear that
this function is not supported if the file is empty.
Change-Id: I1d28bb184ea587bb578fe71dd75adc2a812d09a8
[ROCm/rocm_smi_lib commit: 73c54e1fd0]
Added implementation of and tests for
rsmi_dev_compute_process_info_by_pid_get() and
rsmi_dev_compute_process_info_get()
Change-Id: I4c4f5f39fe6701da37916c9ad41449b5d35ac7af
[ROCm/rocm_smi_lib commit: 9b93cbe21d]
Add support and testing for reading the Unique ID associated with a
specific GPU. This ID will persist across reboots, even if the GPU is
moved to a different machine. Note that this is per-GPU, not per-card,
as some cards have multiple GPUs, and each GPU will get a unique
identifier
Change-Id: Idce50c6febc2ceb1a4c1200d2489ec8b9d8fe174
[ROCm/rocm_smi_lib commit: 35d2807196]
* If vendor/device/subsystem name is not found, use device ID string
* Update documentation for get-name functions
* Add support for junction, edge and memory temperature sensors
[ROCm/rocm_smi_lib commit: 11f714326b]
With newly added initialization parameters that can be
passed to rsmi_init(), you can tell RSMI to consider other
devices.
Also:
-fixed incorrect header file name that would break in C
builds
-modified rsmi_init() and rsmi_shut_down() to reinitialize and
clear static structures
[ROCm/rocm_smi_lib commit: 1dfef717bb]
Also, added code to destroy/recreate mutex if we can't get a lock
within 3 seconds, when shared memory mutex is initialized.
[ROCm/rocm_smi_lib commit: 34c977bd06]
In some cases, the fan sysfs files will exist even if the device
doesn't have a fan. In these cases, the tests will give apparently
random results.
Also, remove documentation and ifdef'd test of debugfs related
power functions.
[ROCm/rocm_smi_lib commit: 4ab27528be]
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/rocm_smi_lib commit: 5a9a729b31]
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()
[ROCm/rocm_smi_lib commit: 59a952666f]