Improve GPU instance name readability in metric info by adding GPU name
This commit is contained in:
Родитель
9695b14042
Коммит
cce1f68b9f
|
@ -635,6 +635,7 @@ namespace hpc
|
|||
{ "2.4.1.0",
|
||||
{
|
||||
"Fix a issue that node with FQDN host name may not be recognized by scheduler",
|
||||
"Improve GPU instance name readability in metric info",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
@ -74,7 +74,8 @@ namespace hpc
|
|||
this->gpuInstanceNames.clear();
|
||||
for (size_t i = 0; i < this->GpuInfos.size(); i++)
|
||||
{
|
||||
this->gpuInstanceNames.push_back(std::to_string(i));
|
||||
auto instanceName = String::Join("", GpuInfos[i].Name, '(', i, ')');
|
||||
this->gpuInstanceNames.push_back(instanceName);
|
||||
}
|
||||
|
||||
// this->gpuInstanceNames.push_back("_Total");
|
||||
|
|
Загрузка…
Ссылка в новой задаче