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.
Este commit está contenido en:
Alex Voicu
2017-11-01 22:51:22 +00:00
padre 09d866a639
commit a619ac6f92
Se han modificado 7 ficheros con 278 adiciones y 52 borrados
+3
Ver fichero
@@ -57,5 +57,8 @@ int main(){
}
std::cout<<std::endl;
hipDeviceSynchronize();
free(A);
hipFree(Ad);
}
}