Support events in the amdsmi
Port the events handling from rocm-smi to amd-smi Change-Id: I0b4cb30a585cb2188a24be0e21c1c156b461bb1d
このコミットが含まれているのは:
@@ -72,6 +72,9 @@ class AMDSmiSystem {
|
||||
amdsmi_status_t handle_to_device(amdsmi_device_handle device_handle,
|
||||
AMDSmiDevice** device);
|
||||
|
||||
amdsmi_status_t gpu_index_to_handle(uint32_t gpu_index,
|
||||
amdsmi_device_handle* device_handle);
|
||||
|
||||
private:
|
||||
AMDSmiSystem() : init_flag_(AMD_SMI_INIT_ALL_DEVICES) {}
|
||||
uint64_t init_flag_;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする