Several fixes/improvements to directed tests.

Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62
This commit is contained in:
Ben Sander
2016-10-18 22:24:40 -05:00
parent 261ff423e1
commit c4b602a0b9
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -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;