SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.
Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
此提交包含在:
1 父節點
dac779c834
當前提交
b89a7c6201
9 file changed
+43
No files matched your search
@@ -86,5 +86,9 @@ int main() {
|
||||
} else {
|
||||
std::cout << "success\n";
|
||||
}
|
||||
free(hInput);
|
||||
free(hOutput);
|
||||
checkHipErrors(hipFree(dInput));
|
||||
checkHipErrors(hipFree(dOutput));
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
封鎖使用者