Commit e52c0380 authored by Jiezhong Qiu's avatar Jiezhong Qiu
Browse files

fix memory leak

parent 6429fa29
......@@ -34,6 +34,7 @@ public:
checkCudaErrors(cudaStreamDestroy(*(streams+i)));
}
checkCudaErrors(cublasDestroy(handle));
delete[] streams;
}
const size_t num_expert;
const int device;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment