C Code Implemented on Cuda

Hello,i want to implement a simple C code(subtraction of two array) on Cuda and then create its dll and use it in application that build in VS2008 .net.Is it possible and how i started it? plz help.

Hi!

Yes it is possible.

One tip is to read the CUDA programming guid, to get a brief understanding on how to create a simple kernel, how to transfer data between GPU and CPU and how to launch a kernel.

I would recommend to compile and run application wo. the dll first.

Thanks for reply.Have you any application that in creat a dll or some help material for this purpose.