Updated amdsmi_get_driver_info() to handle empty strings (#126)

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 9d2bbcf14d]
此提交包含在:
Arif, Maisam
2025-02-21 19:15:18 -06:00
提交者 GitHub
父節點 ccb51bf977
當前提交 5e4f1bb245
共有 2 個檔案被更改,包括 8 行新增2 行删除
+1 -1
查看文件
@@ -817,7 +817,7 @@ class AMDSMIParser(argparse.ArgumentParser):
perf_level_help = "Current DPM performance level"
xgmi_err_help = "XGMI error information since last read"
energy_help = "Amount of energy consumed"
throttle_help = "Displays throttle accumulators; Only available for MI300 or newer ASICs"
throttle_help = "Displays throttle accumulators;\n Only available for MI300 or newer ASICs"
# Help text for Arguments only on Hypervisors
schedule_help = "All scheduling information"