Renamed esmi library APIs and bound the APIs

to cpusocket handle

Change-Id: I6e3d8aa667df475339c28b27294349843f32230c
此提交包含在:
Deepak Mewar committed 2023-08-29 05:15:12 -04:00
1 父節點 a14237b508
當前提交 0baa3f6b6a
3 file changed
+46 -14

No files matched your search

+2 -2
查看文件
@@ -114,14 +114,14 @@ int main(int argc, char **argv) {
CHK_AMDSMI_RET(ret)
std::cout << "core_count=" << core_count << std::endl;
ret = amdsmi_get_hsmp_proto_ver(&proto_ver);
ret = amdsmi_get_cpu_hsmp_proto_ver(sockets[i], &proto_ver);
CHK_AMDSMI_RET(ret)
cout<<"\n------------------------------------------";
cout<<"\n| HSMP Proto Version | "<< proto_ver <<"\t\t |"<< endl;
cout<<"------------------------------------------\n";
ret = amdsmi_get_smu_fw_version(&smu_fw);
ret = amdsmi_get_cpu_smu_fw_version(sockets[i], &smu_fw);
CHK_AMDSMI_RET(ret)
cout<<"\n------------------------------------------";