Printing cufftComplex?

I’m trying to print out the real &imaginary values of a cufftComplex data type and having some trouble.

My question is… how do you go about printing the values for a cufftComplex data type and/or how do you convert its respective values to a float(s).

Doing a bit of research I’ve seen cufftComplex as both an array of 2 floats as well as a structure(?) where i.e. myCufftComplex.x or myCufftComplex.y is used but can’t seem to get it to work either way. Any ideas?

Thanks in advance for any help

brian

Apparently I actually got this to work, but had some segmentation faults thrown in there so it didn’t help

to anyone in need the following link helps

http://forums.nvidia.com/index.php?showtop…rt=#entry391745