cuFFT cufftplan2d cufftEXEcC2C

I have an real array[1024*251], I want to transform it to a 2d complex array, what APIs I should use? cufftplan1d, cufftplan2d, or cufftplanmany? And how to use, please give more details, many thanks.

Study the cuda sample codes that cover cufft:

http://docs.nvidia.com/cuda/cuda-samples/index.html#simple-cufft