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
2023-02-24 11:30:33 +05:30
committed by GitHub
parent 5c3e4fba39
commit e0425b53e0
@@ -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");