Merge pull request #896 from ROCm-Developer-Tools/revert-873-fix_p2p_host_memory_access

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

[ROCm/hip commit: c69772d868]
Этот коммит содержится в:
Maneesh Gupta
2019-02-07 06:04:26 +05:30
коммит произвёл GitHub
родитель bbde243ed9 089077a8b7
Коммит e55c003209
+1 -1
Просмотреть файл
@@ -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());