SWDEV-380736 - Adjusted ouput for amdsmi_get_vram_usage
Change-Id: I6a2cd2353a0c3fafc3a3690098a1e279ecd30378 Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
Bu işleme şunda yer alıyor:
@@ -551,8 +551,8 @@ Output: Dictionary with fields
|
||||
|
||||
Field | Description
|
||||
---|---
|
||||
`vram_used`| VRAM currently in use
|
||||
`vram_total` | VRAM total
|
||||
`vram_used`| VRAM currently in use
|
||||
|
||||
Exceptions that can be thrown by `amdsmi_get_vram_usage` function:
|
||||
* `AmdSmiLibraryException`
|
||||
|
||||
@@ -1027,7 +1027,7 @@ def amdsmi_get_vram_usage(
|
||||
device_handle, ctypes.byref(vram_info))
|
||||
)
|
||||
|
||||
return {"vram_used": vram_info.vram_used, "vram_total": vram_info.vram_total}
|
||||
return {"vram_total": vram_info.vram_total, "vram_used": vram_info.vram_used}
|
||||
|
||||
|
||||
def amdsmi_get_pcie_link_status(
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle