diff --git a/projects/rocm-smi-lib/docs/ROCm_SMI_Manual.pdf b/projects/rocm-smi-lib/docs/ROCm_SMI_Manual.pdf index eddd3b9eba..4fd77c2150 100644 Binary files a/projects/rocm-smi-lib/docs/ROCm_SMI_Manual.pdf and b/projects/rocm-smi-lib/docs/ROCm_SMI_Manual.pdf differ diff --git a/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h b/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h index ff2f8c93cc..efc4967742 100755 --- a/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h +++ b/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h @@ -122,6 +122,20 @@ typedef enum { //!< ennumerated by RSMI. } rsmi_init_flags_t; +/** + * @brief Initialization flags + * + * Initialization flags may be OR'd together and passed to ::rsmi_init(). + */ +typedef enum { + RSMI_INIT_FLAG_ALL_GPUS = 0x1, //!< Attempt to add all GPUs found + //!< (including non-AMD) to the list + //!< of devices from which SMI + //!< information can be retrieved. By + //!< default, only AMD devices are + //!< ennumerated by RSMI. +} rsmi_init_flags_t; + /** * @brief PowerPlay performance levels */ @@ -165,6 +179,9 @@ typedef enum { RSMI_SW_COMP_LAST = RSMI_SW_COMP_DRIVER } rsmi_sw_component_t; +/** + * Clock types + */ typedef enum { RSMI_CLK_TYPE_SYS = 0x0, //!< System clock RSMI_CLK_TYPE_FIRST = RSMI_CLK_TYPE_SYS,