SWDEV-489364 - Free memory in hipAPIStreamDisable

Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb


[ROCm/hip-tests commit: 674ed47852]
Dieser Commit ist enthalten in:
Aidan Belton-Schure
2024-10-04 09:07:58 +00:00
Ursprung fe2597a64c
Commit 3838bda081
@@ -68,4 +68,10 @@ TEST_CASE("Unit_hipStreamCreate_MultistreamBasicFunctionalities") {
HIP_CHECK(hipMemcpy(&x, xd, sizeof(float), hipMemcpyDeviceToHost));
HIP_CHECK(hipMemcpy(&y, yd, sizeof(float), hipMemcpyDeviceToHost));
REQUIRE(x == y);
HIP_CHECK(hipFree(yd));
HIP_CHECK(hipFree(xd));
for (int i = 0; i < NUM_STREAMS; ++i) {
HIP_CHECK(hipFree(data[i]));
}
}