]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Correction of commit 079fbb857002b7f759fbcf7f3aa5d9d8549de31e
authorShanigen <vkaraf@gmail.com>
Sun, 9 Sep 2018 04:25:22 +0000 (06:25 +0200)
committerShanigen <vkaraf@gmail.com>
Sun, 9 Sep 2018 04:25:22 +0000 (06:25 +0200)
src/threadctx.hpp

index 6b5161b61e7f5f8e7cd25b251660d52ba4c77264..bf9963459e288f7651c2122782fc4d3bd6613b5a 100644 (file)
@@ -75,7 +75,7 @@ struct ThreadCtx {
 
     ~ThreadCtx()
     {
-#if defined(CUFFT) && (defined(ASYNC) || defined(OPENMP))
+#if  !defined(BIG_BATCH) && defined(CUFFT) && (defined(ASYNC) || defined(OPENMP))
         CudaSafeCall(cudaStreamDestroy(this->stream));
 #endif
     }