From 9f37cd6309a12045e1efd0691bf5a20887cb87ca Mon Sep 17 00:00:00 2001 From: marandje Date: Mon, 19 Jan 2026 22:10:15 +0100 Subject: [PATCH] SWDEV-1 - Fix hipMemPoolTrimTo failing tests (#2628) --- projects/hip-tests/catch/unit/memory/hipMemPoolTrimTo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;