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:
Deepak Mewar
2024-02-02 01:29:46 -05:00
committed by Maisam Arif
parent 8adf3eba1b
commit 6f7273fda5
9 changed files with 132 additions and 4 deletions
+3
View File
@@ -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) {}