id Union Reference

id Union Reference#

ROCmSMI: id Union Reference
id Union Reference

This union holds the value of an rsmi_func_id_iter_handle_t. The value may be a function name, or an ennumerated variant value of types such as rsmi_memory_type_t, rsmi_temperature_metric_t, etc. More...

#include <rocm_smi.h>

Data Fields

uint64_t id
 uint64_t representation of value
 
const char * name
 name string (applicable to functions only)
 
union {
   rsmi_memory_type_t   memory_type
 
   rsmi_temperature_metric_t   temp_metric
 
   rsmi_event_type_t   evnt_type
 
   rsmi_event_group_t   evnt_group
 
   rsmi_clk_type_t   clk_type
 
   rsmi_fw_block_t   fw_block
 
   rsmi_gpu_block_t   gpu_block_type
 
}; 
 

Detailed Description

This union holds the value of an rsmi_func_id_iter_handle_t. The value may be a function name, or an ennumerated variant value of types such as rsmi_memory_type_t, rsmi_temperature_metric_t, etc.

Field Documentation

◆ memory_type

rsmi_memory_type_t id::memory_type

Used for rsmi_memory_type_t variants

◆ temp_metric

rsmi_temperature_metric_t id::temp_metric

Used for rsmi_temperature_metric_t variants

◆ evnt_type

rsmi_event_type_t id::evnt_type

Used for rsmi_event_type_t variants

◆ evnt_group

rsmi_event_group_t id::evnt_group

Used for rsmi_event_group_t variants

◆ clk_type

rsmi_clk_type_t id::clk_type

Used for rsmi_clk_type_t variants

◆ fw_block

rsmi_fw_block_t id::fw_block

Used for rsmi_fw_block_t variants

◆ gpu_block_type

rsmi_gpu_block_t id::gpu_block_type

Used for rsmi_gpu_block_t variants


The documentation for this union was generated from the following file: