From 103dcd35af9141f26b5bd894455a071a8b0cc6de Mon Sep 17 00:00:00 2001 From: "Assiouras, Ioannis" Date: Wed, 21 May 2025 17:31:39 +0100 Subject: [PATCH] SWDEV-533235 - Fix reference counting in Unit_hipGraphUserObj_ClonedGraph (#189) [ROCm/hip-tests commit: 99f0083a64913c4be819212e8af9db7484ac5231] --- projects/hip-tests/catch/unit/graph/hipGraphAsyncUserObj.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip-tests/catch/unit/graph/hipGraphAsyncUserObj.cc b/projects/hip-tests/catch/unit/graph/hipGraphAsyncUserObj.cc index d289296b83..e6e8fd05bc 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphAsyncUserObj.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphAsyncUserObj.cc @@ -358,7 +358,7 @@ TEST_CASE("Unit_hipGraphUserObj_ClonedGraph") { HIP_CHECK(hipGraphExecDestroy(clonedGraphInstance)); HIP_CHECK(hipStreamSynchronize(stream)); REQUIRE(*hostArr == 9999); - HIP_CHECK(hipUserObjectRelease(Uobj, 2)); + HIP_CHECK(hipUserObjectRelease(Uobj, 1)); t1.join(); HIP_CHECK(hipStreamDestroy(stream)); HIP_CHECK(hipFree(devArr));