cuFFT configuration: 2 calls, each 1024x1024x32. fftw configuration: 8 calls, each 512x512x32. fftw is still faster.