Several fixes/improvements to directed tests.

Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62


[ROCm/clr commit: 4acb7dd947]
Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2016-10-18 22:27:16 -05:00
1 tuismitheoir 7fdf4828ec
tiomantas 90bc4809b0
3 comhad athraithe
+15 -2

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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;