aca23ecb0b
Fix the error only one csv line can be printed out when output
is not based on device.
Change-Id: Idacc5d98acc223e932fb3d46c888bfa04778b73c
[ROCm/rocm_smi_lib commit: 80d650b95a]