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

Change-Id: I7c722633ba8023f03bb64f5fb32b31f10015c327


[ROCm/clr commit: e7ee877a50]
このコミットが含まれているのは:
sumanthtg committed 2021-03-23 21:49:17 +05:30
1 親 d130931dcb
コミット d21f8da966
1ファイル変更
+1 -1
+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;
}