Several fixes/improvements to directed tests.

Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62
This commit is contained in:
Ben Sander
2016-10-18 22:24:40 -05:00
والد 261ff423e1
کامیت c4b602a0b9
3فایلهای تغییر یافته به همراه15 افزوده شده و 2 حذف شده
@@ -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;