SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.
Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
Tá an tiomantas seo le fáil i:
tiomanta ag
Jaydeepkumar Patel
tuismitheoir
dac779c834
tiomantas
b89a7c6201
@@ -86,5 +86,9 @@ int main() {
|
||||
} else {
|
||||
std::cout << "success\n";
|
||||
}
|
||||
free(hInput);
|
||||
free(hOutput);
|
||||
checkHipErrors(hipFree(dInput));
|
||||
checkHipErrors(hipFree(dOutput));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir