Corrected amdsmi_interface api call & versioning
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com> Change-Id: I3a80716cb544ab0512073b34702b7fa132767668
This commit is contained in:
@@ -52,7 +52,7 @@ amd-smi will report the version and current platform detected when running the c
|
|||||||
amd-smi
|
amd-smi
|
||||||
usage: amd-smi [-h] ...
|
usage: amd-smi [-h] ...
|
||||||
|
|
||||||
AMD System Management Interface | Version: 0.0.4 | Platform: Linux Baremetal
|
AMD System Management Interface | Version: 23.0.1.0 | Platform: Linux Baremetal
|
||||||
|
|
||||||
optional arguments:
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
|
|||||||
@@ -4,7 +4,14 @@
|
|||||||
|
|
||||||
Documentation for AMDSMI-CLI is available post install in /opt/<rocm_instance>/libexec/amdsmi_cli/README.md
|
Documentation for AMDSMI-CLI is available post install in /opt/<rocm_instance>/libexec/amdsmi_cli/README.md
|
||||||
|
|
||||||
## AMDSMI-CLI 0.0.4
|
## AMDSMI-CLI 23.0.1.0
|
||||||
|
|
||||||
|
### Known Issues
|
||||||
|
|
||||||
|
- not all ecc fields are currently supported
|
||||||
|
- RHEL 8 has extra install steps
|
||||||
|
|
||||||
|
## AMDSMI-CLI 23.0.0.4
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.1.0"
|
__version__ = "23.0.1.0"
|
||||||
|
|||||||
@@ -899,7 +899,7 @@ class AMDSMICommands():
|
|||||||
if args.ecc_block:
|
if args.ecc_block:
|
||||||
ecc_dict = {}
|
ecc_dict = {}
|
||||||
try:
|
try:
|
||||||
ras_states = amdsmi_interface.amdsmi_get_ras_block_features_enabled(args.gpu)
|
ras_states = amdsmi_interface.amdsmi_get_gpu_ras_block_features_enabled(args.gpu)
|
||||||
for state in ras_states:
|
for state in ras_states:
|
||||||
if state['status'] == amdsmi_interface.AmdSmiRasErrState.ENABLED.name:
|
if state['status'] == amdsmi_interface.AmdSmiRasErrState.ENABLED.name:
|
||||||
gpu_block = amdsmi_interface.AmdSmiGpuBlock[state['block']]
|
gpu_block = amdsmi_interface.AmdSmiGpuBlock[state['block']]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ name = "amdsmi"
|
|||||||
authors = [
|
authors = [
|
||||||
{name = "AMD", email = "amd-smi.support@amd.com"},
|
{name = "AMD", email = "amd-smi.support@amd.com"},
|
||||||
]
|
]
|
||||||
version = '1.0'
|
version = '23.0.1.0'
|
||||||
license = {file = "amdsmi/LICENSE"}
|
license = {file = "amdsmi/LICENSE"}
|
||||||
readme = {file = "amdsmi/README.md", content-type = "text/markdown"}
|
readme = {file = "amdsmi/README.md", content-type = "text/markdown"}
|
||||||
description = "SMI LIB - AMD GPU Monitoring Library"
|
description = "SMI LIB - AMD GPU Monitoring Library"
|
||||||
|
|||||||
مرجع در شماره جدید
Block a user