[Clam-devel] [PATCH] fftw3-wisdom again and SConstruct imrovements

Roman Goj roman.goj at gmail.com
Tue Jun 19 13:12:37 PDT 2007


David García Garzón wrote:
> Roman, your patch is commit 10267
> 
> The fftw3 is also used in the FFT_fftw3 and IFFT_fftw3 classes. Should we add 
> the line to them too or is not good to import more than once?

Wow, a great feeling, this is then my first official accepted commit to
CLAM :')

So, to celebrate - the patch for fftw3 in FFT_fftw3 and IFFT_fftw3
(sorry, forgot about those...). Importing wisdom more then once should
not do any harm - I think fftw just doesn't do anything if there is no
more wisdom to be found (tried importing more then once, nothing bad
ever happened)...

...but this reminded me that we should also be forgetting the wisdom, so
that the memory it uses is freed, so also added this to the patch -
fftw_forget_wisdom(). (I forgot about this, because I never used it for
my own small projects, but it should probably be there)

Thanks, David, for the commit :)
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more-fftw3-wisdom-and-forgetting-it.patch
Type: text/x-patch
Size: 1860 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070619/6b4e5980/attachment-0005.bin>


More information about the clam-devel mailing list