rocm-smi --showxgmierr return error instead of error counter values

The rocm-smi pass wrong arguments

Change-Id: I3a3923abdd263d4af87f3ec90670bb16afa2ef9b


[ROCm/amdsmi commit: ae10e842af]
このコミットが含まれているのは:
Bill(Shuzhou) Liu authored and Shuzhou Liu committed 2023-02-13 16:36:24 -05:00
1 親 c24e70b848
コミット 4b1fb2336d
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -2476,7 +2476,7 @@ def showXgmiErr(deviceList):
printLogSpacer('XGMI Error status')
xe = rsmi_xgmi_status_t()
for device in deviceList:
ret = rocmsmi.rsmi_dev_xgmi_error_status(device, xe)
ret = rocmsmi.rsmi_dev_xgmi_error_status(device, byref(xe))
if rsmi_ret_ok(ret, device, 'xgmi status'):
desc = ''
if xe.value is None: