Port rocm-smi function to amd-smi
Port most rocm-smi function to amd-smi and add unit tests.
Change-Id: I6387a4bdaf20ead2389c99bb01d438156ccd0747
[ROCm/amdsmi commit: f1d02aca79]
This commit is contained in:
@@ -76,7 +76,7 @@ class AMDSmiSystem {
|
||||
amdsmi_device_handle* device_handle);
|
||||
|
||||
private:
|
||||
AMDSmiSystem() : init_flag_(AMD_SMI_INIT_ALL_DEVICES) {}
|
||||
AMDSmiSystem() : init_flag_(AMDSMI_INIT_ALL_DEVICES) {}
|
||||
uint64_t init_flag_;
|
||||
AMDSmiDrm drm_;
|
||||
std::vector<AMDSmiSocket*> sockets_;
|
||||
|
||||
Reference in New Issue
Block a user