Deprecated amdsmi_get_energy_count() power field
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I1b5fe8e278b797458e57dff689e692347901bbfd
[ROCm/amdsmi commit: 8ca2c6e247]
Этот коммит содержится в:
@@ -115,6 +115,8 @@ GPU: 0
|
||||
|
||||
### Changed
|
||||
|
||||
- **Python API for `amdsmi_get_energy_count()` will change the name for the `power` field to `energy_accumulator`**.
|
||||
|
||||
- **Updated API `amdsmi_get_gpu_vram_info()` structure and CLI `amd-smi static --vram`**
|
||||
Updated structure `amdsmi_vram_info_t`:
|
||||
```C
|
||||
|
||||
@@ -1528,7 +1528,7 @@ Output: Dictionary with fields
|
||||
|
||||
Field | Content
|
||||
---|---
|
||||
`power` | counter for energy accumulation since last restart/gpu rest (Deprecating in 6.4)
|
||||
`power` | counter for energy accumulation since last restart/gpu rest (Deprecated in ROCm 6.4)
|
||||
`energy_accumulator` | counter for energy accumulation since last restart/gpu rest
|
||||
`counter_resolution` | counter resolution
|
||||
`timestamp` | timestamp
|
||||
|
||||
@@ -3272,7 +3272,6 @@ def amdsmi_get_energy_count(processor_handle: amdsmi_wrapper.amdsmi_processor_ha
|
||||
)
|
||||
|
||||
return {
|
||||
'power': energy_accumulator.value, # deprecating in 6.4
|
||||
'energy_accumulator': energy_accumulator.value,
|
||||
'counter_resolution': counter_resolution.value,
|
||||
'timestamp': timestamp.value,
|
||||
|
||||
Ссылка в новой задаче
Block a user