I wonder if the compiling a double value is truly double type.
Here’s an sdk exmaple ‘Mandelbrot’, I compile it in 64 bit machine w/ 64bit gcc. I got this warning:
make -C src/Mandelbrot/
make: Entering directory `/home/skchoe/local/CUDA_SDK/C/src/Mandelbrot’
ptxas /tmp/tmpxft_00001996_00000000-2_Mandelbrot_sm11.ptx, line 1796;
warning : Double is not supported. Demoting to float
How to I detect my gcc compiler is not supporting Double, and how to check the output value is float?