Use visual recognition X to identify Cuda Program Files
Source: Internet
Author: User
1. Let VS 2005 be recognized just like C/C ++ files. after visual assist X is installed in the Cu file on vs, when you move your cursor over a variable, the definition of the variable is displayed. If there are many files in a project, these functions can be easily written or modified. Program. After installing the Cuda package ,. the CPP file has syntax highlighted, because. the Cu file requires the nvcc compiler, so we need to manually set it to make. cu file and. the CPP file uses the visual assist x function. Specific steps: 1) Place the syntaxes highlighted by NVIDIA to the specified VC directory; 2) modify the visual visualization X of the registry: HKEY_USERS-> S-1-5-21-1757981266-220523388-725345543-1003 (names may vary depending on the machine)-> Software-> wholetomato-> visual assist X-> vanet8, modify the extsource item, and add it to its value. cu; for example:
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.