Recent research on the drawing of the body requires the use of cuda acceleration. After downloading Cuda 7.0 (support VS2013) from the official website, you can create a Cuda project directly in VS2013, or you can add a CU file to the original project.
To get to the point, to add CUDA support for existing projects, most of the internet can be searched for VS2010 approach, however, I use VS2013, and VS10 version slightly different.
First, the method of VS2010, this is the official introduction of the method:
Right-click on project-Generate custom ...
Select the appropriate version of Cuda in the pop-up window
After you open the properties of the project, you can see Cuda C + +
The parameters in general do not change, if the project used some high-level things may need to manually change.
But
In VS2013, right-click on the item does not have the "Generate custom ..." option, finally found in the menu bar, look at the picture.
The others are consistent with VS2010.
To add CUDA support to a project