P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers") - when enabling peer, turn it on for previously allocated memory. - hipDeviceCanAccessPeer is no longer self-ware (self does not qualify as a peer) - device peerlist always includes self, so when we call allow_access we never remove self access. - hipDeviceReset() removes old peer mappings.
이 커밋은 다음에 포함됨:
1 부모
c2d37b4bbd
커밋
83f0de7806
9 파일이 변경됨
+202
-54
검색과 일치하는 파일 없음
@@ -127,7 +127,7 @@ void printDeviceProp (int deviceId)
|
||||
for (int i=0; i<deviceCnt; i++) {
|
||||
int isPeer;
|
||||
hipDeviceCanAccessPeer(&isPeer, deviceId, i);
|
||||
if ((i != deviceId) && isPeer) {
|
||||
if (isPeer) {
|
||||
cout << "device#" << i << " ";
|
||||
}
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단