96f603783c
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: Icf4c1df4a1651093b5de3cd7a25a9bd69a299075
[ROCm/amdsmi commit: 437cb07db6]