Clock, Power and Performance Queries

Clock, Power and Performance Queries#

AMD SMI: Clock, Power and Performance Queries
Clock, Power and Performance Queries

Functions

amdsmi_status_t amdsmi_reset_gpu (amdsmi_processor_handle processor_handle)
 Triggers a chain that resets all GPUs. It is not supported on virtual machine guest. More...
 

Detailed Description

These functions provide information about clock frequencies and performance.

Function Documentation

◆ amdsmi_reset_gpu()

amdsmi_status_t amdsmi_reset_gpu ( amdsmi_processor_handle  processor_handle)

Triggers a chain that resets all GPUs. It is not supported on virtual machine guest.

Platform:

gpu_bm_linux

host

Note
After this function returns, the caller must wait a few seconds before calling any other AMD SMI API functions to allow the GPU reset to complete. Calling other APIs too soon may result in AMDSMI_STATUS_BUSY or undefined behavior.

Given a processor handle processor_handle, this function will reset the GPU

Parameters
[in]processor_handlea processor handle
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail