Added Platform Information to Default Command (#553)

Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: fc5ea762b3]
Esse commit está contido em:
Pham, Gabriel
2025-08-05 20:11:42 -05:00
commit de GitHub
commit e1a538e551
2 arquivos alterados com 2 adições e 0 exclusões
+1
Ver Arquivo
@@ -38,6 +38,7 @@ Full documentation for amd_smi_lib is available at [https://rocm.docs.amd.com/pr
$ amd-smi
+------------------------------------------------------------------------------+
| AMD-SMI 26.0.0+eaa54ecc amdgpu version: 6.12.12 ROCm version: 7.0.0 |
| Platform: Linux Baremetal |
|-------------------------------------+----------------------------------------|
| BDF GPU-Name | Mem-Uti Temp UEC Power-Usage |
| GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage |
@@ -1011,6 +1011,7 @@ class AMDSMILogger():
# print GPU info
print(default_line_1)
print("| AMD-SMI {0:20s} amdgpu version: {1:8s} ROCm version: {2:8s} |".format(amd_smi_version.ljust(20), amdgpu_version, rocm_version))
print("| Platform: {0:20.20s} {1:46s}|".format(str(self.helpers.os_info()), ""))
print(default_line_2)
print("| BDF GPU-Name | Mem-Uti Temp UEC Power-Usage |")
print("| GPU HIP-ID OAM-ID Partition-Mode | GFX-Uti Fan Mem-Usage |")