To add CUDA support to a project

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.