4D FFT

Hello, I want to do a 4D FFT in CUDA but to my knowledge only 3D FFT’s are supported. However since the FFT is separable, it should be possible to do a 4D FFT as two consecutive 2D FFT’s, has anyone tried that?

I’m not sure its just 2 2D ffts.

One 2d fft is one 1d fft for each row, then one 1d fft for each column isn’t it? By that admittedly dodgy logic a 4d fft would be a 2dfft for each step in the 3rd dimensions followed by a 2d fft for each step in the 4th dimension or something like that.