Several fixes/improvements to directed tests.

Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62


[ROCm/clr commit: 4acb7dd947]
This commit is contained in:
Ben Sander committed 2016-10-18 22:27:16 -05:00
1 parent 7fdf4828ec
commit 90bc4809b0
3 files changed
+15 -2

No files matched your search

@@ -90,7 +90,7 @@ int main() {
setenv("CUDA_VISIBLE_DEVICES",(char*)std::to_string(i).c_str(),1);
if (devPCINum[i] != getDevicePCIBusNumRemote(0)) {
std::cout << "The returned PciBusID is not correct"<< std::endl;
std::cout << "Expected "<< devPCINum[i] << ", but get " << getDevicePCIBusNum << endl;
std::cout << "Expected "<< devPCINum[i] << ", but get " << getDevicePCIBusNum(i) << endl;
exit(-1);
} else {
continue;