diff --git a/projects/hip-tests/catch/multiproc/hipDeviceGetPCIBusIdMproc.cc b/projects/hip-tests/catch/multiproc/hipDeviceGetPCIBusIdMproc.cc index 5accbe20ed..86e8e95578 100644 --- a/projects/hip-tests/catch/multiproc/hipDeviceGetPCIBusIdMproc.cc +++ b/projects/hip-tests/catch/multiproc/hipDeviceGetPCIBusIdMproc.cc @@ -217,7 +217,7 @@ TEST_CASE("Unit_hipDeviceGetPCIBusId_CheckPciBusIDWithLspci") { command = "lspci -D | grep controller | grep NVIDIA | " "cut -d ' ' -f 1"; } else { - command = "lspci -D | grep controller | grep AMD/ATI | " + command = "lspci -D | grep -e controller -e accelerator | grep AMD/ATI | " "cut -d ' ' -f 1"; } fpipe = popen(command, "r");