SW Version Information

SW Version Information#

AMD SMI: 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_handleDevice which to query
[in,out]lengthAs input parameter length of the user allocated string buffer. As output parameter length of the returned string buffer.
[out]versionVersion information in string format. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail