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

Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858
这个提交包含在:
ROCm CI Service Account 编写, GitHub 于 2023-02-23 22:00:33 -08:00 提交
1 父节点 5c3e4fba39
当前提交 e0425b53e0
1 个文件已更改
+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");