fix peer query order
Tá an tiomantas seo le fáil i:
1 tuismitheoir
4a0c0479d4
tiomantas
e4d1863ce8
1 comhad athraithe
+1
-1
@@ -126,7 +126,7 @@ void printDeviceProp (int deviceId)
|
||||
cout << setw(w1) << "peers: ";
|
||||
for (int i=0; i<deviceCnt; i++) {
|
||||
int isPeer;
|
||||
hipDeviceCanAccessPeer(&isPeer, deviceId, i);
|
||||
hipDeviceCanAccessPeer(&isPeer, i, deviceId);
|
||||
if (isPeer) {
|
||||
cout << "device#" << i << " ";
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir