SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.

Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
Tá an tiomantas seo le fáil i:
Jaydeep Patel
2024-08-29 06:21:46 +00:00
tiomanta ag Jaydeepkumar Patel
tuismitheoir dac779c834
tiomantas b89a7c6201
D'athraigh 9 comhad le 43 breiseanna agus 0 scriosta
+4
Féach ar an gComhad
@@ -86,5 +86,9 @@ int main() {
} else {
std::cout << "success\n";
}
free(hInput);
free(hOutput);
checkHipErrors(hipFree(dInput));
checkHipErrors(hipFree(dOutput));
return 0;
}