33bbb8efde
When discover the amdgpu, if the assigned numbers are not consecutive,
not all GPU can be discovered. The code is change to discover the
GPU based on max card number.
Change-Id: I8b6a8b49594d6a54c7feb2645bedb83dc5c1b4cc
[ROCm/rocm_smi_lib commit: 8c44416410]