Skip to content

Commit c8c6ba8

Browse files
committed
feature: Add more APIs to L0 Sysman python binding
Related-To: NEO-18602 Added following APIs to python binding: 1. zesDevicePciGetProperties 2. zesDevicePciGetStats 3. zesDeviceEccAvailable 4. zesDeviceEccConfigurable 5. zesDeviceGetEccState 6. zesDeviceSetEccState 7. zesPowerGetLimitsExt 8. zesPowerSetLimitsExt 9. zesFrequencyGetAvailableClocks 10. zesFrequencyGetRange 11. zesFrequencySetRange 12. zesFrequencyGetThrottleTime 13. zesDevicePciGetState Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
1 parent 1ae486c commit c8c6ba8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

bindings/sysman/python/source/examples/pyzes_black_box_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ def test_global_operation(driver_handle, device_handle, device_index):
475475

476476
# Initialize each structure
477477
for i in range(subdevice_count.value):
478-
subdevice_props[
479-
i
480-
].stype = pz.ZES_STRUCTURE_TYPE_SUBDEVICE_EXP_PROPERTIES
478+
subdevice_props[i].stype = (
479+
pz.ZES_STRUCTURE_TYPE_SUBDEVICE_EXP_PROPERTIES
480+
)
481481
subdevice_props[i].pNext = None
482482

483483
# Second call to get properties
@@ -952,9 +952,9 @@ def test_power_module(device_handle, device_index):
952952
limit_descs = PowerLimitArray()
953953

954954
for limit_index in range(limit_count.value):
955-
limit_descs[
956-
limit_index
957-
].stype = pz.ZES_STRUCTURE_TYPE_POWER_LIMIT_EXT_DESC
955+
limit_descs[limit_index].stype = (
956+
pz.ZES_STRUCTURE_TYPE_POWER_LIMIT_EXT_DESC
957+
)
958958
limit_descs[limit_index].pNext = None
959959

960960
rc = pz.zesPowerGetLimitsExt(

0 commit comments

Comments
 (0)