
7 Aug
2012
7 Aug
'12
5:12 a.m.
Takayuki Muranushi wrote:
* vector-fftw with wisdom was more than 1/2 times faster than fftw in C with wisdom (and with communication overhead.)
I would be suspicious of that result. Calling a C function from a library should be slower from Haskell than from C.
Sorry for the confusion, What I meant is that vector-fftw version takes more time than C version, but less than twice.
That makes much more sense. Whether you're calling fftw from C or from Haskell, its still the fftw library doing most of the work. As you increase the FFT length, the difference between C and Haskell should decrease. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/