SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb
[ROCm/hip-tests commit: 674ed47852]
Dieser Commit ist enthalten in:
@@ -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]));
|
||||
}
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren