SWDEV-382397 - Add hipStreamSynchronize() (#166)
Make sure the queue is done before exit. Change-Id: I1011514211d665d3e1f0e93abcc38f08b2e3c375
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
82339b5234
tiomantas
de3e0c92b7
@@ -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));
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir