rocm_smi_lib: fix gpu_metrics_v1_3 support
Signed-off-by: Elena Sakhnovitch Change-Id: Ia7a6b17eb0f317465613ba92ae7548a221c46ee3
Este cometimento está contido em:
@@ -901,19 +901,6 @@ typedef struct {
|
||||
uint32_t gfx_activity_acc; // new in v1
|
||||
uint32_t mem_actvity_acc; // new in v1
|
||||
uint16_t temperature_hbm[RSMI_NUM_HBM_INSTANCES]; // new in v1
|
||||
|
||||
/* PMFW attached timestamp (10ns resolution) */
|
||||
uint64_t firmware_timestamp; // added in v1_2
|
||||
|
||||
/* Voltage (mV) */
|
||||
uint16_t voltage_soc; // added in v1_3
|
||||
uint16_t voltage_gfx; // added in v1_3
|
||||
uint16_t voltage_mem; // added in v1_3
|
||||
|
||||
uint16_t padding1;
|
||||
|
||||
/* Throttle status (ASIC independent) */
|
||||
uint64_t indep_throttle_status; // added in v1_3
|
||||
/// \endcond
|
||||
} rsmi_gpu_metrics_t;
|
||||
|
||||
|
||||
@@ -123,16 +123,18 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
rsmi_gpu_metrics_t base;
|
||||
/* PMFW attached timestamp (10ns resolution) */
|
||||
uint64_t firmware_timestamp;
|
||||
/* PMFW attached timestamp (10ns resolution) */
|
||||
uint64_t firmware_timestamp;
|
||||
|
||||
/* Voltage (mV) */
|
||||
uint16_t voltage_soc;
|
||||
uint16_t voltage_gfx;
|
||||
uint16_t voltage_mem;
|
||||
/* Voltage (mV) */
|
||||
uint16_t voltage_soc;
|
||||
uint16_t voltage_gfx;
|
||||
uint16_t voltage_mem;
|
||||
|
||||
/* Throttle status (ASIC independent) */
|
||||
uint64_t indep_throttle_status;
|
||||
uint16_t padding1;
|
||||
|
||||
/* Throttle status (ASIC independent) */
|
||||
uint64_t indep_throttle_status;
|
||||
|
||||
} rsmi_gpu_metrics_v_1_3;
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador