From 60b2b7fb833e9802c2ebd2ec64911d2e723e355f Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Thu, 25 May 2023 09:27:18 -0500 Subject: [PATCH] Corrected amdsmi_interface api call & versioning Signed-off-by: Maisam Arif Change-Id: I3a80716cb544ab0512073b34702b7fa132767668 --- amdsmi_cli/README.md | 2 +- amdsmi_cli/Release Notes.md | 9 ++++++++- amdsmi_cli/_version.py | 2 +- amdsmi_cli/amdsmi_commands.py | 2 +- py-interface/pyproject.toml | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/amdsmi_cli/README.md b/amdsmi_cli/README.md index bcaa1d9659..91ecaa7711 100644 --- a/amdsmi_cli/README.md +++ b/amdsmi_cli/README.md @@ -52,7 +52,7 @@ amd-smi will report the version and current platform detected when running the c amd-smi 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: -h, --help show this help message and exit diff --git a/amdsmi_cli/Release Notes.md b/amdsmi_cli/Release Notes.md index 8f4ff9ceb9..6b056f935b 100644 --- a/amdsmi_cli/Release Notes.md +++ b/amdsmi_cli/Release Notes.md @@ -4,7 +4,14 @@ Documentation for AMDSMI-CLI is available post install in /opt//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 diff --git a/amdsmi_cli/_version.py b/amdsmi_cli/_version.py index 3dc1f76bc6..1283aa8b07 100644 --- a/amdsmi_cli/_version.py +++ b/amdsmi_cli/_version.py @@ -1 +1 @@ -__version__ = "0.1.0" +__version__ = "23.0.1.0" diff --git a/amdsmi_cli/amdsmi_commands.py b/amdsmi_cli/amdsmi_commands.py index 4aacf829eb..6385c58f21 100644 --- a/amdsmi_cli/amdsmi_commands.py +++ b/amdsmi_cli/amdsmi_commands.py @@ -899,7 +899,7 @@ class AMDSMICommands(): if args.ecc_block: ecc_dict = {} 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: if state['status'] == amdsmi_interface.AmdSmiRasErrState.ENABLED.name: gpu_block = amdsmi_interface.AmdSmiGpuBlock[state['block']] diff --git a/py-interface/pyproject.toml b/py-interface/pyproject.toml index d7f95a869a..1f82adab49 100644 --- a/py-interface/pyproject.toml +++ b/py-interface/pyproject.toml @@ -10,7 +10,7 @@ name = "amdsmi" authors = [ {name = "AMD", email = "amd-smi.support@amd.com"}, ] -version = '1.0' +version = '23.0.1.0' license = {file = "amdsmi/LICENSE"} readme = {file = "amdsmi/README.md", content-type = "text/markdown"} description = "SMI LIB - AMD GPU Monitoring Library"