Add missing hipStreamDestroy at test exit

此提交包含在:
Wenkai Du committed 2021-11-16 07:50:18 -08:00
1 父節點 8b35847d36
當前提交 602b745ff4
1 file changed
+4
+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) {