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 authored and Arif, Maisam committed 2025-11-13 13:08:12 -06:00
1 親 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