Modified cuda_ffty as well to use compute_fft_opt