[SWDEV-541675] Remove Unnecessary API from amdsmi.h (#530)

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
This commit is contained in:
Narlo, Joseph authored and GitHub committed 2025-07-07 11:14:27 -05:00
1 parent 5b95d227bc
commit 2cf6272b53
6 files changed
+36 -36

No files matched your search

+6 -1
View File
@@ -220,7 +220,12 @@ try:
#print(f"found smi lib in [", location, "]")
except OSError as e:
print(e)
print("Unable to find {library_name} library try installing amd-smi-lib from your package manager")"""
print("Unable to find {library_name} library try installing amd-smi-lib from your package manager")
#Add support for amdsmi_free_name_value_pairs
amdsmi_free_name_value_pairs = _libraries['libamd_smi.so'].amdsmi_free_name_value_pairs
amdsmi_free_name_value_pairs.restype = None
amdsmi_free_name_value_pairs.argtypes = [ctypes.POINTER(None)]"""
else:
print("Unknown operating system. It is only supporing Linux and Windows.")
return