Add missing hipStreamDestroy at test exit

[ROCm/rccl-tests commit: 602b745ff4]
此提交包含在:
Wenkai Du
2021-11-16 07:50:18 -08:00
父節點 f87bbaf041
當前提交 db075a1fab
+4
查看文件
@@ -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) {