Print non-peers too
Change-Id: I2a6905edcdf144aa732ae3120c17780477f232ac
[ROCm/clr commit: 44aee4b61c]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
97d9a5722e
tiomantas
43723d77cc
1 comhad athraithe
+9
@@ -133,6 +133,15 @@ void printDeviceProp (int deviceId)
|
||||
}
|
||||
}
|
||||
cout << endl;
|
||||
cout << setw(w1) << "non-peers: ";
|
||||
for (int i=0; i<deviceCnt; i++) {
|
||||
int isPeer;
|
||||
hipDeviceCanAccessPeer(&isPeer, i, deviceId);
|
||||
if (!isPeer) {
|
||||
cout << "device#" << i << " ";
|
||||
}
|
||||
}
|
||||
cout << endl;
|
||||
|
||||
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir