Added amdsmi cpu family & cpu model
- Updated header and source files - Updated python interface - Generated python wrapper for updated header - Updated the CLI to have cpu family & cpu model as part of metric table Change-Id: Iea440251797270d5d29ffe883b0ad6db790be658
This commit is contained in:
committed by
Maisam Arif
parent
8adf3eba1b
commit
6f7273fda5
@@ -75,6 +75,9 @@ class AMDSmiSystem {
|
||||
amdsmi_status_t gpu_index_to_handle(uint32_t gpu_index,
|
||||
amdsmi_processor_handle* processor_handle);
|
||||
|
||||
amdsmi_status_t get_cpu_family(uint32_t *cpu_family);
|
||||
|
||||
amdsmi_status_t get_cpu_model(uint32_t *cpu_model);
|
||||
private:
|
||||
AMDSmiSystem() : init_flag_(AMDSMI_INIT_AMD_GPUS) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user