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) {