For P2P, use the peer list when allocating Device memory or pinned host.

Each new allocation is automatically mapped into the address space of
all enabled peers.


[ROCm/clr commit: 288682ccb3]
This commit is contained in:
Ben Sander
2016-04-06 16:44:31 -05:00
orang tua 6ccb0a5054
melakukan e287933051
6 mengubah file dengan 59 tambahan dan 38 penghapusan
+4 -1
Melihat File
@@ -442,9 +442,12 @@ void ihipDevice_t::locked_reset()
// Reset and remove streams:
crit->streams().clear();
#if USE_PEER_TO_PEER==2
// remove peer mappings to this device? Call removePeer on all other devices?
#endif
// Reset and release all memory stored in the tracker:
am_memtracker_reset(_acc);
};