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 ha cambiato i file con 3 aggiunte e 6 eliminazioni
-3
Vedi 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();
}
}
}
}
@@ -24,9 +24,9 @@ THE SOFTWARE.
/* HIT_START
* BUILD: %t %s ../test_common.cpp
* TEST: %t EXCLUDE_HIP_PLATFORM amd
* TEST: %t --memcpyWithPeer EXCLUDE_HIP_PLATFORM amd
* TEST: %t --mirrorPeers EXCLUDE_HIP_PLATFORM amd
* TEST: %t
* TEST: %t --memcpyWithPeer
* TEST: %t --mirrorPeers
* HIT_END
*/