SW Version Information#
SW Version Information
Functions | |
amdsmi_status_t | amdsmi_get_driver_version (amdsmi_device_handle device_handle, int *length, char *version) |
Returns the driver version information. More... | |
Detailed Description
Function Documentation
◆ amdsmi_get_driver_version()
amdsmi_status_t amdsmi_get_driver_version | ( | amdsmi_device_handle | device_handle, |
int * | length, | ||
char * | version | ||
) |
Returns the driver version information.
- Parameters
-
[in] device_handle Device which to query [in,out] length As input parameter length of the user allocated string buffer. As output parameter length of the returned string buffer. [out] version Version information in string format. Must be allocated by user.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail