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   id::memory_type
 < Used for rsmi_memory_type_t variants More...
 
   rsmi_temperature_metric_t   id::temp_metric
 Used for rsmi_event_type_t variants.
 
   rsmi_event_type_t   id::evnt_type
 Used for rsmi_event_group_t variants.
 
   rsmi_event_group_t   id::evnt_group
 Used for rsmi_clk_type_t variants.
 
   rsmi_clk_type_t   id::clk_type
 Used for rsmi_fw_block_t variants.
 
   rsmi_fw_block_t   id::fw_block
 Used for rsmi_gpu_block_t variants.
 
   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.


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