Query UBB/OAM temperature API (#581)
Add support to Query UBB/OAM temperature. * Updated Python API with new temperature metrics enum --------- Co-authored-by: Bill Liu <shuzhliu@amd.com> Co-authored-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
This commit is contained in:
committed by
GitHub
parent
753a5ea326
commit
abd3c02a3c
@@ -144,7 +144,7 @@ amdsmi_status_t AMDSmiDrm::init() {
|
||||
// even if fail, still add to prevent mismatch the index
|
||||
if (!has_valid_fds) {
|
||||
drm_bdfs_.push_back(bdf);
|
||||
drm_free_device(&device);
|
||||
// No need to free device here since it is not valid
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user