]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Do not execute CUDA version of gausian correlation
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 2 Oct 2018 23:12:44 +0000 (01:12 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 2 Oct 2018 23:12:44 +0000 (01:12 +0200)
Use CPU version for now, because the CUDA version seems to have problems.

src/kcf.cpp

index 19b5817488fc4b7abe63041ab2d8fc69c4b9df88..60db47b7f88771c6784f02e90c569b19471fa173 100644 (file)
@@ -693,7 +693,7 @@ void KCF_Tracker::GaussianCorrelation::operator()(ComplexMat &result, const Comp
     DEBUG_PRINTM(xyf_sum);
     kcf.fft.inverse(xyf_sum, ifft_res);
     DEBUG_PRINTM(ifft_res);
-#ifdef CUFFT
+#if 0 && defined(CUFFT)
     // FIXME
     cuda_gaussian_correlation(ifft_res.deviceMem(), k.deviceMem(), xf_sqr_norm.deviceMem(),
                               auto_correlation ? xf_sqr_norm.deviceMem() : yf_sqr_norm.deviceMem(), sigma,