Port most rocm-smi function to amd-smi and add unit tests. Change-Id: I6387a4bdaf20ead2389c99bb01d438156ccd0747 [ROCm/amdsmi commit: f1d02aca79]
f1d02aca79