1 родитель
9c9047deb2
Коммит
f268a705ee
1 file changed
+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 << " ";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user