SWDEV-285521 - SWDEV-284626 - Fix P2P and Caffe2 test failures

- waitList was released before the awaitcompletion
causing stream sync after the async copies fail

- Enable the hipPeerToPeer_simple test

Change-Id: I1eeaa7e6320ab38c106902078f034dfec4c3f3ea


[ROCm/hip commit: acafb344c0]
This commit is contained in:
Satyanvesh Dittakavi
2021-05-20 06:29:36 -07:00
parent 06e0e6be13
commit 802fee3078
2 changed files with 3 additions and 6 deletions
-3
View File
@@ -444,9 +444,6 @@ hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKin
depdentMarker->release();
}
cmd->release();
if (waitList.size() > 0) {
waitList[0]->release();
}
}
}
}