SWDEV-489358 - Fixed memleak in Unit_hipMultiStream_sameDevice

Change-Id: I5a662e46546125988d8a75f76aafcc905eab7147


[ROCm/hip-tests commit: d4f6a2defb]
Dieser Commit ist enthalten in:
Ioannis Assiouras committed 2024-11-13 05:35:34 -05:00
1 Ursprung c55f3d16b8
Commit 2f4a9f3fd2
1 Datei geändert
+2
@@ -57,6 +57,8 @@ TEST_CASE("Unit_hipMultiStream_sameDevice") {
}
HIP_CHECK(hipMemcpy(&x, xd, sizeof(float), hipMemcpyDeviceToHost));
HIP_CHECK(hipMemcpy(&y, yd, sizeof(float), hipMemcpyDeviceToHost));
HIP_CHECK(hipFree(xd));
HIP_CHECK(hipFree(yd));
REQUIRE(x == Approx(y));
}