SWDEV-545476 - memleak valgrind fixes for atomics and compiler (#470)

fixes SWDEV-545476 and SWDEV-545493
This commit is contained in:
GunaShekar, Ajay
2025-07-29 08:32:34 -07:00
committed by GitHub
parent 94bb129ac1
commit 39fd515cd2
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -172,6 +172,7 @@ TEMPLATE_TEST_CASE("Unit_unsafe_atomic_add_half_and_bfloat", "", __half2, __hip_
REQUIRE(hout.x == 32.0f);
REQUIRE(hout.y == 64.0f);
HIP_CHECK(hipFree(out));
}
/**
+4
View File
@@ -78,6 +78,10 @@ TEST_CASE("Unit_test_compressed_codeobject") {
HIP_CHECK(hipErrorUnknown);
}
}
HIP_CHECK(hipFree(A_d));
HIP_CHECK(hipFree(C_d));
free(A_h);
free(C_h);
printf("PASSED!\n");
REQUIRE(true);
}