]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Modified Fftw version to correctly use OpenMP.
authorShanigen <vkaraf@gmail.com>
Wed, 11 Jul 2018 11:38:56 +0000 (13:38 +0200)
committerShanigen <vkaraf@gmail.com>
Wed, 11 Jul 2018 11:38:56 +0000 (13:38 +0200)
src/fft_fftw.cpp

index 454794be8c282bd17b3cf6b702a19acdf0b09c72..399a8d96a933f550f46423b9bc0622ed3fe043e0 100644 (file)
@@ -8,7 +8,7 @@
 
 #if !defined(ASYNC) && !defined(OPENMP) && !defined(CUFFTW)
 #define FFTW_PLAN_WITH_THREADS() fftw_plan_with_nthreads(m_num_threads);
-#elif defined(OPENMP) && !defined(CUFFTW)
+#elif defined(OPENMP) && defined(BIG_BATCH)&& !defined(CUFFTW)
 #define FFTW_PLAN_WITH_THREADS() fftw_plan_with_nthreads(omp_get_max_threads());
 #else
 #define FFTW_PLAN_WITH_THREADS()