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


[ROCm/amdsmi commit: 18faddf6f3]
This commit is contained in:
gabrpham_amdeng
2025-10-30 09:48:35 -05:00
کامیت شده توسط Arif, Maisam
والد 360a4316b5
کامیت 351b6f96ae
17فایلهای تغییر یافته به همراه591 افزوده شده و 245 حذف شده
@@ -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