CLI Help text and parser formatting updates (#218)

* Small Fixes
* CLI Help text and parser formatting updates
* Changed metavar for set partition

---------
Change-Id: Ia8809665f6fac670452cd4db4e5e8f9c7270faba
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Signed-off-by: Pham, Gabriel <Gabriel.Pham@amd.com>
Co-authored-by: Pham, Gabriel <Gabriel.Pham@amd.com>
This commit is contained in:
Arif, Maisam
2025-04-22 23:32:42 -05:00
committed by GitHub
vanhempi 63b13ecb05
commit 53dbb7bf58
6 muutettua tiedostoa jossa 147 lisäystä ja 175 poistoa
+2 -2
Näytä tiedosto
@@ -2045,8 +2045,8 @@ def amdsmi_get_gpu_xgmi_link_status(
count += 1
return_dict = {
"status" : link_status,
"total_links": status_info.total_links,
"status" : link_status,
"total_links": status_info.total_links,
}
return return_dict
+1 -1
Näytä tiedosto
@@ -178,7 +178,7 @@ from pathlib import Path
# - current directory
def find_smi_library():
err = OSError("Could not load libamd_smi.so")
possible_locations = list()
possible_locations = []
# 1.
rocm_path = os.getenv("ROCM_HOME", os.getenv("ROCM_PATH"))
if rocm_path: