How to create .cu file

Hi Experts,

        I am new to this field. I have developed a VC++ application. To make it fast, i want to do some tasks in GPU. I have read some basics about CUDA programming. But still i don't know how to compile CUDA program? and how to add those CUDA kernels with my app? <img src='http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/omg.gif' class='bbc_emoticon' alt=':omg:' /> 

Plz help me :unsure:

Thanks in Advance

Karguvel

After having installed the Driver, Toolkit and SDK from http://developer.nvidia.com/object/cuda_3_0_downloads.html you may want to have a look at the samples, which are contained in the SDK directory:

NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src

There is also a ‘template’ project which you can use for your first tests, and to see whether the compilation and execution works properly. To integrate an CUDA source file into an existing project, you may want to try importing the

NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.rules

file containing the build rules for CU files into Visual Studio.

:omg:

Thank you… :rolleyes: