Added support for configuring PPT1 power cap

- Updated python integration test to account for PPT1 support changes
  - Updated set/reset power-cap input format
  - Adjusted python API and updated C++ API test

Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
Change-Id: Ia9d02868b6e91c88c10a9772d9e2d9f37c3c352f
Этот коммит содержится в:
gabrpham_amdeng
2025-10-30 09:48:35 -05:00
коммит произвёл Arif, Maisam
родитель 4dfe74eb72
Коммит 18faddf6f3
17 изменённых файлов: 591 добавлений и 245 удалений
+1 -1
Просмотреть файл
@@ -733,7 +733,7 @@ class TestAmdSmiPythonInterface(unittest.TestCase):
power_info['power_limit']))
try:
print("\n###Test amdsmi_get_power_cap_info \n")
power_cap_info = amdsmi.amdsmi_get_power_cap_info(processors[i])
power_cap_info = amdsmi.amdsmi_get_power_cap_info(processors[i], 0)
except amdsmi.AmdSmiLibraryException as e:
self._check_exception(e)
continue