This corrects some interesting choices that were present in the HIP
unit tests such as e.g. de-allocating memory allocated with new[] using free. All of these were identified via cppcheck.
Šī revīzija ir iekļauta:
1 vecāks
09d866a639
revīzija
a619ac6f92
7 files changed
+278
-52
No files matched your search
@@ -57,5 +57,8 @@ int main(){
|
||||
}
|
||||
std::cout<<std::endl;
|
||||
hipDeviceSynchronize();
|
||||
|
||||
free(A);
|
||||
hipFree(Ad);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user