diff --git a/include/rocm_smi/rocm_smi.h b/include/rocm_smi/rocm_smi.h index efc4967742..e867c6258f 100755 --- a/include/rocm_smi/rocm_smi.h +++ b/include/rocm_smi/rocm_smi.h @@ -136,6 +136,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 */