How to use CUDA? :unsure:
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?

Plz help me :unsure:

Thanks in Advance

Karguvel
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?



Plz help me :unsure:



Thanks in Advance



Karguvel

Thanks,

Karguvel

#1
Posted 06/02/2010 11:22 AM   
After having installed the Driver, Toolkit and SDK from [url="http://developer.nvidia.com/object/cuda_3_0_downloads.html"]http://developer.nvidia.com/object/cuda_3_0_downloads.html[/url] you may want to have a look at the samples, which are contained in the SDK directory:

<YourHomeDirectory>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

<YourHomeDirectory>NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.rules

file containing the build rules for CU files into Visual Studio.
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:



<YourHomeDirectory>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



<YourHomeDirectory>NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.rules



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

#2
Posted 06/02/2010 02:53 PM   
[quote name='Marco13' post='1066591' date='Jun 2 2010, 08:23 PM']After having installed the Driver, Toolkit and SDK from [url="http://developer.nvidia.com/object/cuda_3_0_downloads.html"]http://developer.nvidia.com/object/cuda_3_0_downloads.html[/url] you may want to have a look at the samples, which are contained in the SDK directory:

<YourHomeDirectory>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

<YourHomeDirectory>NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.rules

file containing the build rules for CU files into Visual Studio.[/quote]



Thank you :rolleyes:
[quote name='Marco13' post='1066591' date='Jun 2 2010, 08:23 PM']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:



<YourHomeDirectory>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



<YourHomeDirectory>NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.rules



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







Thank you :rolleyes:

Thanks,

Karguvel

#3
Posted 06/03/2010 05:01 AM   
Scroll To Top