SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#134)
Change-Id: I9daed025e86654fc7d936ef86f2d069d41c393f2
[ROCm/hip-tests commit: ce9eb70346]
This commit is contained in:
committed by
GitHub
parent
04faf32374
commit
1e9ed092e2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user