1d fft using cufft