inverse cufft issue

i am having very strange problems

  1. In one code sample , i am having data on host
    i am transferring complex data to device and then calculating it inverse cufft , this icufft is not normalized , i am having the no of elements as 8k . How to normalize it as dividing with 8k is not producing the correct results.

  2. In another code sample, i have the data on device , i try to perform inverse cufft but it gives results as blank image.

If i comment on inverse fft portion in both the cases my results matches.

In both the cases everything seems normal from compile time viewpoint.

Please help me out.

this is solved now