rocm_smi.py: improve error output

Match alignment of error output with general output

signed-off-by Elena Sakhnovitch

Change-Id: Id4334152f4ad5665ff37d5d47e6f7ca0107a9428


[ROCm/amdsmi commit: 5d5ba738db]
Этот коммит содержится в:
Elena Sakhnovitch
2022-06-24 11:56:46 -04:00
коммит произвёл Elena Sakhnovitch
родитель b405977e0e
Коммит 63c35faea6
+1 -1
Просмотреть файл
@@ -455,7 +455,7 @@ def printErrLog(device, err):
global PRINT_JSON
devName = device
for line in err.split('\n'):
errstr = 'GPU[%s] \t\t: %s' % (devName, line)
errstr = 'GPU[%s]\t: %s' % (devName, line)
if not PRINT_JSON:
logging.error(errstr)
else: