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]
Этот коммит содержится в:
Satyanvesh Dittakavi
2021-05-20 06:29:36 -07:00
родитель 06e0e6be13
Коммит 802fee3078
2 изменённых файлов: 3 добавлений и 6 удалений
-3
Просмотреть файл
@@ -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();
}
}
}
}
+3 -3
Просмотреть файл
@@ -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
*/