amd-smi [CPU]: Added Support to get number of threads per core
Change-Id: I7e6500f3f53068a3483b64a54d78ac9e1d9cd183
This commit is contained in:
@@ -4923,6 +4923,17 @@ amdsmi_status_t amdsmi_get_cpu_socket_energy(amdsmi_processor_handle processor_h
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Get Number of threads Per Core.
|
||||
*
|
||||
* @platform{cpu_bm}
|
||||
*
|
||||
* @param[in,out] threads_per_core - Input buffer to return the Number of threads Per Core
|
||||
*
|
||||
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
|
||||
*/
|
||||
amdsmi_status_t amdsmi_get_threads_per_core(uint32_t *threads_per_core);
|
||||
|
||||
/**
|
||||
* @brief Get SMU Firmware Version.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user