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

fixes SWDEV-545476 and SWDEV-545493
Este commit está contenido en:
GunaShekar, Ajay
2025-07-29 08:32:34 -07:00
cometido por GitHub
padre 94bb129ac1
commit 39fd515cd2
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
+1
Ver fichero
@@ -172,6 +172,7 @@ TEMPLATE_TEST_CASE("Unit_unsafe_atomic_add_half_and_bfloat", "", __half2, __hip_
REQUIRE(hout.x == 32.0f); REQUIRE(hout.x == 32.0f);
REQUIRE(hout.y == 64.0f); REQUIRE(hout.y == 64.0f);
HIP_CHECK(hipFree(out));
} }
/** /**
+4
Ver fichero
@@ -78,6 +78,10 @@ TEST_CASE("Unit_test_compressed_codeobject") {
HIP_CHECK(hipErrorUnknown); HIP_CHECK(hipErrorUnknown);
} }
} }
HIP_CHECK(hipFree(A_d));
HIP_CHECK(hipFree(C_d));
free(A_h);
free(C_h);
printf("PASSED!\n"); printf("PASSED!\n");
REQUIRE(true); REQUIRE(true);
} }