amd-smi [CPU]: Added Support to get number of threads per core

Change-Id: I7e6500f3f53068a3483b64a54d78ac9e1d9cd183
This commit is contained in:
muthusamy
2024-06-12 10:00:53 +00:00
committed by Maisam Arif
parent 92f014059e
commit 057d688b55
3 changed files with 31 additions and 0 deletions
+11
View File
@@ -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.
*