SWDEV-487992 - Free memory.
Change-Id: Ic4c7448d7e537953bcebc73210647f52de53b0ee
[ROCm/hip-tests commit: 0422d78c1b]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
0c255ac97f
tiomantas
72534cd356
2 comhad athraithe
+3
Níor tháinig aon chomhaid le do chuardach
@@ -88,6 +88,7 @@ void test(size_t N) {
|
||||
HIP_CHECK(hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));
|
||||
HIP_CHECK(hipDeviceSynchronize());
|
||||
HipTest::checkVectorADD(A_h, B_h, C_h, N);
|
||||
HipTest::freeArrays(A_d, B_d, C_d, A_h, B_h, C_h, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir