2
0

Return the driver loading status

When init the library, it could return status whether the driver is
loaded or not.

Change-Id: Id26b8058e32881ebe2514067a639a2a871d1f252


[ROCm/amdsmi commit: f86f62b3f7]
Este cometimento está contido em:
Bill(Shuzhou) Liu
2023-09-13 15:38:20 -05:00
ascendente a0e321e819
cometimento ba4506639b
4 ficheiros modificados com 54 adições e 0 eliminações
+1
Ver ficheiro
@@ -178,6 +178,7 @@ typedef enum {
AMDSMI_STATUS_NOT_FOUND = 31, //!< Device Not found
AMDSMI_STATUS_NOT_INIT = 32, //!< Device not initialized
AMDSMI_STATUS_NO_SLOT = 33, //!< No more free slot
AMDSMI_STATUS_DRIVER_NOT_LOADED = 34, //!< Processor driver not loaded
// Data and size errors
AMDSMI_STATUS_NO_DATA = 40, //!< No data was found for a given input
AMDSMI_STATUS_INSUFFICIENT_SIZE = 41, //!< Not enough resources were available for the operation