Revert "Fixed issue of GPU device losing access to host pinned memory"

[ROCm/clr commit: e94153ed8b]
Dieser Commit ist enthalten in:
Rahul Garg
2019-02-04 22:45:13 -08:00
committet von GitHub
Ursprung e5d45862bb
Commit c5ba34378a
+1 -1
Datei anzeigen
@@ -129,7 +129,7 @@ hipError_t ihipEnablePeerAccess(hipCtx_t peerCtx, unsigned int flags) {
LockedAccessor_CtxCrit_t peerCrit(peerCtx->criticalData());
// Add thisCtx to peerCtx's access list so that new allocations on peer will be made
// visible to this device:
bool isNewPeer = peerCrit->addPeerWatcher(thisCtx, peerCtx);
bool isNewPeer = peerCrit->addPeerWatcher(peerCtx, thisCtx);
if (isNewPeer) {
tprintf(DB_MEM, "device=%s can now see all memory allocated on peer=%s\n",
thisCtx->toString().c_str(), peerCtx->toString().c_str());