SWDEV-382397 - Add hipStreamSynchronize() (#166)
Make sure the queue is done before exit.
Change-Id: I1011514211d665d3e1f0e93abcc38f08b2e3c375
[ROCm/hip-tests commit: de3e0c92b7]
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
74b04d86af
υποβολή
a64b929968
1 file changed
+1
@@ -106,6 +106,7 @@ TEST_CASE("Unit_hipEventElapsedTime_NotReady_Negative") {
|
||||
HIP_CHECK_ERROR(hipEventQuery(stop), hipErrorNotReady);
|
||||
HIP_ASSERT(hipEventElapsedTime(&tElapsed,start,stop) == hipErrorNotReady);
|
||||
|
||||
HIP_CHECK(hipStreamSynchronize(nullptr));
|
||||
HIP_CHECK(hipEventDestroy(start));
|
||||
HIP_CHECK(hipEventDestroy(stop));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user