fix peer query order

Dieser Commit ist enthalten in:
Ben Sander committed 2016-04-11 07:58:59 -05:00
1 Ursprung c161c1ba9b
Commit 7eba742c66
1 Datei geändert
+1 -1
+1 -1
Datei anzeigen
@@ -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 << " ";
}