diff --git a/projects/hip-tests/catch/unit/memory/hipMemPoolTrimTo.cc b/projects/hip-tests/catch/unit/memory/hipMemPoolTrimTo.cc index dde9bd4aaa..9315b98565 100644 --- a/projects/hip-tests/catch/unit/memory/hipMemPoolTrimTo.cc +++ b/projects/hip-tests/catch/unit/memory/hipMemPoolTrimTo.cc @@ -177,8 +177,8 @@ static bool checkhipMemPoolTrimTo(hipStream_t stream, int N, int dev = 0) { testObj.transferFromMempool(stream); testObj.freeDevBuf(stream); // verify and validate - REQUIRE(true == testObj.validateResult()); HIP_CHECK(hipStreamSynchronize(stream)); + REQUIRE(true == testObj.validateResult()); } HIP_CHECK(hipMemPoolDestroy(mem_pool)); return true;