I have problem with visual studio. I added path to header files to CUDA c/C++ -> common -> Additional include directories but i got error "cannot open source file". I can build program without errors but everything from this headers i have as undefinded. :<
If you want to build .cu files in your vs2012 project, you don't need to add additional head in your include. Instead, you can do:
Right click your project -> Build Costomeizations ... -> Then check whatever cuda version installed on your computer
. That should add cuda headers and libs to your project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.