Add missing hipStreamDestroy at test exit

This commit is contained in:
Wenkai Du
2021-11-16 07:50:18 -08:00
rodzic 8b35847d36
commit 602b745ff4
+4
Wyświetl plik
@@ -1268,6 +1268,10 @@ testResult_t run() {
free(comms);
}
for (int i=0; i<nGpus*nThreads; i++) {
HIPCHECK(hipStreamDestroy(streams[i]));
}
// Free off HIP allocated memory
for (int i=0; i<nGpus*nThreads; i++) {
if (memorytype == ncclHost) {