cuComplex data type - where is it defined?

Hi,

we’re currently looking for the definition of the cuComplex datatype. We have installed the 2.0 CUDA SDK for Linux and we can’t seem to find any header files defining it. Is this typepart of CUBLAS? Or is it deprecated?

I believe you’ll find an example of this in the simple fft sample provided in the sdk.

it is defined in cuComplex.h, which can be found in your Cuda installation folder, subfolder “include” (e.g. /usr/local/cuda/include in my case).

and yes…it is officially part of CUBLAS (but you can use it in “native CUDA” applications alike)

Ah! We were looking for it as part of the SDK’s inc folder. No surprise we didn’t find it then