ASIC & Board Static Information

ASIC & Board Static Information#

AMD SMI: ASIC & Board Static Information
ASIC & Board Static Information

Functions

amdsmi_status_t amdsmi_get_asic_info (amdsmi_device_handle device_handle, amdsmi_asic_info_t *info)
 Returns the ASIC information for the device. More...
 
amdsmi_status_t amdsmi_get_board_info (amdsmi_device_handle device_handle, amdsmi_board_info_t *info)
 Returns the board part number and board information for the requested device. More...
 
amdsmi_status_t amdsmi_get_power_cap_info (amdsmi_device_handle device_handle, uint32_t sensor_ind, amdsmi_power_cap_info_t *info)
 Returns the power caps as currently configured in the system. More...
 
amdsmi_status_t amdsmi_get_xgmi_info (amdsmi_device_handle device_handle, amdsmi_xgmi_info_t *info)
 Returns XGMI information for the GPU. More...
 
amdsmi_status_t amdsmi_get_caps_info (amdsmi_device_handle device_handle, amdsmi_gpu_caps_t *info)
 Returns the device capabilities as currently configured in the system. More...
 

Detailed Description

Function Documentation

◆ amdsmi_get_asic_info()

amdsmi_status_t amdsmi_get_asic_info ( amdsmi_device_handle  device_handle,
amdsmi_asic_info_t info 
)

Returns the ASIC information for the device.

This function returns ASIC information such as the product name, the family, the vendor ID, the subvendor ID, the device ID, the revision ID and the serial number.

Parameters
[in]device_handleDevice which to query
[out]infoReference to static asic information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_board_info()

amdsmi_status_t amdsmi_get_board_info ( amdsmi_device_handle  device_handle,
amdsmi_board_info_t info 
)

Returns the board part number and board information for the requested device.

Parameters
[in]device_handleDevice which to query
[out]infoReference to board info structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_power_cap_info()

amdsmi_status_t amdsmi_get_power_cap_info ( amdsmi_device_handle  device_handle,
uint32_t  sensor_ind,
amdsmi_power_cap_info_t info 
)

Returns the power caps as currently configured in the system.

Parameters
[in]device_handleDevice which to query
[in]sensor_indA 0-based sensor index. Normally, this will be 0. If a device has more than one sensor, it could be greater than 0.
[out]infoReference to power caps information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_xgmi_info()

amdsmi_status_t amdsmi_get_xgmi_info ( amdsmi_device_handle  device_handle,
amdsmi_xgmi_info_t info 
)

Returns XGMI information for the GPU.

Parameters
[in]device_handleDevice which to query
[out]infoReference to xgmi information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_caps_info()

amdsmi_status_t amdsmi_get_caps_info ( amdsmi_device_handle  device_handle,
amdsmi_gpu_caps_t info 
)

Returns the device capabilities as currently configured in the system.

Parameters
[in]device_handleDevice which to query
[out]infoReference to caps information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail