SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#3142)

Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858
This commit is contained in:
ROCm CI Service Account authored and GitHub committed 2023-02-23 22:00:33 -08:00
1 vanhempi 5c3e4fba39
commit e0425b53e0
1 file changed
+1 -1
@@ -113,7 +113,7 @@ bool compareHipDeviceGetPCIBusIdWithLspci() {
char const *command = "lspci -D | grep controller | grep NVIDIA | "
"cut -d ' ' -f 1";
#else
char const *command = "lspci -D | grep controller | grep AMD/ATI | "
char const *command = "lspci -D | grep -e controller -e accelerator | grep AMD/ATI | "
"cut -d ' ' -f 1";
#endif
fpipe = popen(command, "r");