Add missing hipStreamDestroy at test exit

[ROCm/rccl-tests commit: 602b745ff4]
Cette révision appartient à :
Wenkai Du
2021-11-16 07:50:18 -08:00
Parent f87bbaf041
révision db075a1fab
+4
Voir le fichier
@@ -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) {