SWDEV-534016 - Change error code as per current CLR logic (#207)
Change error code as per current CLR logic. Intra device async memcpy in 2 diff threads can't sync by CLR internals, It needs to be handled by app/test.
This commit is contained in:
committed by
GitHub
parent
39fd515cd2
commit
a4c93871b5
@@ -731,9 +731,8 @@ TEST_CASE("Unit_hipStreamLegacy_TwoThreadsInTwoDevicesEachOneDiffOperation") {
|
|||||||
HIP_CHECK(hipSetDevice(0));
|
HIP_CHECK(hipSetDevice(0));
|
||||||
|
|
||||||
std::thread dev0Thread(operationsInDev0, devArrDev0, devArrDev1);
|
std::thread dev0Thread(operationsInDev0, devArrDev0, devArrDev1);
|
||||||
std::thread dev1Thread(operationsInDev1, devArrDev1, hostArrDst);
|
|
||||||
|
|
||||||
dev0Thread.join();
|
dev0Thread.join();
|
||||||
|
std::thread dev1Thread(operationsInDev1, devArrDev1, hostArrDst);
|
||||||
dev1Thread.join();
|
dev1Thread.join();
|
||||||
|
|
||||||
for ( int i = 0; i < N; i++ ) {
|
for ( int i = 0; i < N; i++ ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user