cuFFT & fftshift matlab fftshift functionality

Hi,
anyone know how to make the fftshift functionality like matlab to with data after fft.

something like fftshift_data = fftshift(fftn(data));
i can do fftshift with real datasets but with complex after the fft i get some troubles.
cheers