Remove stray debug msgs, hipInfo don't print self as peer.

This commit is contained in:
Ben Sander committed 2016-04-11 07:58:58 -05:00
1 parent 2fd45f0a6d
commit 565300acb0
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ void printDeviceProp (int deviceId)
for (int i=0; i<deviceCnt; i++) {
int isPeer;
hipDeviceCanAccessPeer(&isPeer, deviceId, i);
if (isPeer) {
if ((i != deviceId) && isPeer) {
cout << "device#" << i << " ";
}
}