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
committed by Maisam Arif
parent d705801adf
commit ca59a60a9a
12 changed files with 43 additions and 36 deletions
+3 -2
View File
@@ -1143,10 +1143,11 @@ def amdsmi_get_lib_version():
_check_res(amdsmi_wrapper.amdsmi_get_lib_version(ctypes.byref(version)))
return {
"year": version.year,
"major": version.major,
"minor": version.minor,
"patch": version.patch,
"build": version.build.contents.value.decode("utf-8"),
"release": version.release,
"build": version.build.contents.value.decode("utf-8")
}
+3 -3
View File
@@ -1246,12 +1246,12 @@ class struct_c__SA_amdsmi_version_t(Structure):
struct_c__SA_amdsmi_version_t._pack_ = 1 # source:False
struct_c__SA_amdsmi_version_t._fields_ = [
('year', ctypes.c_uint32),
('major', ctypes.c_uint32),
('minor', ctypes.c_uint32),
('patch', ctypes.c_uint32),
('PADDING_0', ctypes.c_ubyte * 4),
('release', ctypes.c_uint32),
('build', ctypes.POINTER(ctypes.c_char)),
('reserved', ctypes.c_uint32 * 4),
('reserved', ctypes.c_ubyte * 4),
]
amdsmi_version_t = struct_c__SA_amdsmi_version_t
+4 -4
View File
@@ -10,14 +10,14 @@ name = "amdsmi"
authors = [
{name = "AMD", email = "amd-smi.support@amd.com"},
]
version = '23.0.1.1'
version = "23.2.1.0"
license = {file = "amdsmi/LICENSE"}
readme = {file = "amdsmi/README.md", content-type = "text/markdown"}
description = "SMI LIB - AMD GPU Monitoring Library"
description = "AMDSMI Python LIB - AMD GPU Monitoring Library"
requires-python = ">=3.7"
dependencies = [
'PyYAML >= 5.0',
'clang >= 14.0'
"PyYAML >= 5.0",
"clang >= 14.0"
]
[project.urls]