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
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