This commit is contained in:
Gwojda 2022-01-05 10:47:09 +05:30 committed by GitHub
commit 92492ea9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,6 +377,7 @@ void cudaGraphsUsingStreamCapture(float *inputVec_h, float *inputVec_d,
checkCudaErrors(cudaStreamDestroy(stream1));
checkCudaErrors(cudaStreamDestroy(stream2));
checkCudaErrors(cudaStreamDestroy(streamForGraph));
checkCudaErrors(cudaEventDestroy(reduceKernelEvent));
}
int main(int argc, char **argv) {