calling cuda function (cu file) from c (c file) in vs2005

lately, i’ve learned a lot about C and CUDA as shown in my posts here.

now a real fun begins…i have a bunch of c files and some of it must be converted to CUDA.

i know its easy - just apply a kernel wrapper as shown in

http://forums.nvidia.com/index.php?showtopic=62601&pid=346512&start=&st=#entry346512

but, one of the replay in the original post said a .cpp file is needed.

http://forums.nvidia.com/index.php?showtopic=62601&pid=347760&start=&st=#entry347760

of course the original conversations were for linux…

under vs 2005 what is the good practice to call cuda from c?

as always, many thanks for you well in advance.

lately, i’ve learned a lot about C and CUDA as shown in my posts here.

now a real fun begins…i have a bunch of c files and some of it must be converted to CUDA.

i know its easy - just apply a kernel wrapper as shown in

http://forums.nvidia.com/index.php?showtopic=62601&pid=346512&start=&st=#entry346512

but, one of the replay in the original post said a .cpp file is needed.

http://forums.nvidia.com/index.php?showtopic=62601&pid=347760&start=&st=#entry347760

of course the original conversations were for linux…

under vs 2005 what is the good practice to call cuda from c?

as always, many thanks for you well in advance.