SWDEV-278478 - Fix for hipDeviceGetPCIBusId-vs-lspci test failure

Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327


[ROCm/clr commit: e7ee877a50]
Этот коммит содержится в:
sumanthtg
2021-03-23 21:43:54 +05:30
родитель d130931dcb
Коммит d21f8da966
+1 -1
Просмотреть файл
@@ -128,7 +128,7 @@ bool compareHipDeviceGetPCIBusIdWithLspci() {
while (fgets(pciDeviceList[index], sizeof(pciDeviceList[index]), fpipe)) {
bool bMatchFound = false;
for (int deviceNo = 0; deviceNo < deviceCount; deviceNo++) {
if (!strncmp(pciDeviceList[index], hipDeviceList[deviceNo], 10)) {
if (!strncasecmp(pciDeviceList[index], hipDeviceList[deviceNo], 10)) {
deviceMatchCount++;
bMatchFound = true;
}