SWDEV-540597 - Reset last error to avoid its impact in next iteration. (#558)
* SWDEV-540597 - Reset last error to avoid its impact in next iteration. * SWDEV-540597 - Bypass compiler error as we need to call hipGetLastError without checking error to reset last error. --------- Co-authored-by: Jaydeep Patel <jaydeepkumar.patel@amd.com>
This commit is contained in:
gecommit door
GitHub
bovenliggende
ea94716e23
commit
87ea43b642
@@ -94,6 +94,7 @@ TEMPLATE_TEST_CASE("Unit_hipMemcpyDtoD_Basic", "[multigpu]", int, float,
|
||||
HIP_CHECK(hipFree(X_d));
|
||||
HIP_CHECK(hipFree(Y_d));
|
||||
HIP_CHECK(hipFree(Z_d));
|
||||
(void)hipGetLastError();
|
||||
}
|
||||
HipTest::freeArrays<TestType>(A_d, B_d, C_d, A_h, B_h, C_h, false);
|
||||
}
|
||||
|
||||
Verwijs in nieuw issue
Block a user