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

fixes SWDEV-545476 and SWDEV-545493

[ROCm/hip-tests commit: 39fd515cd2]
Tento commit je obsažen v:
GunaShekar, Ajay
2025-07-29 08:32:34 -07:00
odevzdal GitHub
rodič 5e6d4d0087
revize 1a709fd533
2 změnil soubory, kde provedl 5 přidání a 0 odebrání
+1
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -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);
}