Add table for GPU name look to give better name than just "amdgpu"

This commit is contained in:
Chris Freehill
2019-03-10 17:56:06 -05:00
parent ddd292f1b5
commit d39752cee7
4 changed files with 32 additions and 9 deletions
+3 -3
View File
@@ -112,11 +112,11 @@ void TestBase::PrintDeviceHeader(uint32_t dv_ind) {
}
std::cout << std::setbase(10);
char name[20];
err = rsmi_dev_name_get(dv_ind, name, 20);
char name[128];
err = rsmi_dev_name_get(dv_ind, name, 128);
CHK_ERR_ASRT(err)
IF_VERB(STANDARD) {
std::cout << "\t**Monitor name: " << name << std::endl;
std::cout << "\t**Device name: " << name << std::endl;
}
}
void TestBase::Run(void) {