diff --git a/projects/amdsmi/include/rocm_smi/rocm_smi.h b/projects/amdsmi/include/rocm_smi/rocm_smi.h index 9ba6353793..e867c6258f 100755 --- a/projects/amdsmi/include/rocm_smi/rocm_smi.h +++ b/projects/amdsmi/include/rocm_smi/rocm_smi.h @@ -113,6 +113,15 @@ typedef enum { RSMI_STATUS_UNKNOWN_ERROR = 0xFFFFFFFF, //!< An unknown error occurred } rsmi_status_t; +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 Initialization flags *