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 | |
< Used for rsmi_memory_type_t variants More... | |
rsmi_temperature_metric_t temp_metric | |
Used for rsmi_event_type_t variants. | |
rsmi_event_type_t evnt_type | |
Used for rsmi_event_group_t variants. | |
rsmi_event_group_t evnt_group | |
Used for rsmi_clk_type_t variants. | |
rsmi_clk_type_t clk_type | |
Used for rsmi_fw_block_t variants. | |
rsmi_fw_block_t 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.
Field Documentation
◆ memory_type
rsmi_memory_type_t id::memory_type |
< Used for rsmi_memory_type_t variants
Used for rsmi_temperature_metric_t variants
The documentation for this union was generated from the following file: