<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 2:03 PM, Ralf Gommers <span dir="ltr"><<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Jan 12, 2018 at 3:16 AM, Neal Becker <span dir="ltr"><<a href="mailto:ndbecker2@gmail.com" target="_blank">ndbecker2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can fftconvolve use fftw, or mkl fft?</div></blockquote><div><br></div></span><div>Yes, with pyfftw: <a href="https://hgomersall.github.io/pyFFTW/sphinx/tutorial.html?highlight=fftconvolve#monkey-patching-3rd-party-libraries" target="_blank">https://hgomersall.github.io/<wbr>pyFFTW/sphinx/tutorial.html?<wbr>highlight=fftconvolve#monkey-<wbr>patching-3rd-party-libraries</a><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ralf</div><div><br></div></font></span></div></div></div></blockquote><div><br></div><div>Also, note that the pyFFTW scipy interfaces default to "threads=1", so the monkeypatching as listed in the pyFFTW docs may not give a big speed improvement for all transform sizes. It is likely you will get further speedup if you monkey patch specific functions using functools.partial to change the default threads to a more appropriate value for your system. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="HOEnZb"><font color="#888888"><div></div></font></span></div><br></div></div>
<br>______________________________<wbr>_________________<br>
SciPy-User mailing list<br>
<a href="mailto:SciPy-User@python.org">SciPy-User@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-user" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scipy-user</a><br>
<br></blockquote></div><br></div></div>