How can I use cuda from a normal cpp project ?

Hi ! I want to use some cuda code as my cpp function. How can I do it ?

If you mean you want to call a CUDA function from your C++ application there is an example in the SDK called cppIntegration…