Updated Versioning

corrected to amd-smi version from rocm-smi version
	Added newline characters in the gpu choices
	Updated cli versioning to 23.2.1.0 to match amd-smi

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ia6db3a281e2349e05a09209bdcfdfa5ac48e3a86
This commit is contained in:
Maisam Arif
2023-07-31 07:42:05 -05:00
committad av Maisam Arif
förälder d705801adf
incheckning ca59a60a9a
12 ändrade filer med 43 tillägg och 36 borttagningar
+1 -1
Visa fil
@@ -54,7 +54,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: 23.0.1.0 | Platform: Linux Baremetal
AMD System Management Interface | Version: 23.2.1.0 | Platform: Linux Baremetal
optional arguments:
-h, --help show this help message and exit
+1
Visa fil
@@ -0,0 +1 @@
__version__ = "23.2.1.0"
+1 -1
Visa fil
@@ -1 +1 @@
__version__ = "23.0.1.1"
__version__ = "23.2.1.0"
+1 -4
Visa fil
@@ -63,10 +63,7 @@ class AMDSMICommands():
except amdsmi_exception.AmdSmiLibraryException as e:
amdsmi_lib_version = e.get_error_info()
major = amdsmi_lib_version["major"]
minor = amdsmi_lib_version["minor"]
patch = amdsmi_lib_version["patch"]
amdsmi_lib_version_str = f'{major}.{minor}.{patch}'
amdsmi_lib_version_str = amdsmi_lib_version["build"]
self.logger.output['tool'] = 'AMDSMI Tool'
self.logger.output['version'] = f'{__version__}'
+1 -1
Visa fil
@@ -152,7 +152,7 @@ class AMDSMIHelpers():
"UUID": uuid,
"Device Handle": device_handle,
}
gpu_choices_str += f"ID:{gpu_id:<2} | BDF:{bdf} | UUID:{uuid}"
gpu_choices_str += f"ID:{gpu_id:<2} | BDF:{bdf} | UUID:{uuid}\n"
return (gpu_choices, gpu_choices_str)