SWDEV-548241 - Add missing destroy calls in graph tests (#520)

Co-authored-by: Vladana Stojiljkovic <Vladana.Stojiljkovic@amd.com>
This commit is contained in:
systems-assistant[bot]
2025-11-13 11:13:40 +01:00
committed by GitHub
parent e2d83014cf
commit 7450910e53
22 changed files with 120 additions and 29 deletions
@@ -88,6 +88,8 @@ TEST_CASE("Unit_hipGraphNodeSetParams_Negative_Parameters") {
HIP_CHECK(hipGraphExecDestroy(graphExec));
HIP_CHECK(hipGraphDestroy(graph));
HIP_CHECK(hipFree(A_d));
free(A_h);
}
/**
@@ -130,6 +132,7 @@ TEST_CASE("Unit_hipGraphNodeSetParams_Positive") {
for (int i = 0; i < N; i++) {
REQUIRE(A_h[i] == 99);
}
HIP_CHECK(hipGraphExecDestroy(graphExec));
hipGraphNodeParams node_params2 = {};
node_params2.type = hipGraphNodeTypeMemset;