简体   繁体   中英

How can I create the project in Eclipse-nsight which use both Intel C++ and CUDA C++?

I want to use ICC (Intel C++ Compiler) with CUDA NVCC (nVidia C++ Compiler) on Linux in the Eclipse-nsight.

Now I can create Intel C++ project or CUDA C++ project. But how can I create the project which can contain at the same time both. Cpp-files and. Cu-file, and which automatic compile Cpp-files by using ICC and Cu-file by using NVCC?

Which project should I create: Intel C++ or CUDA C++, and what should I do then?

(Or may be someone known how can I create the project in Eclipse-nsight which use both GCC and ICC, and it will help me)

在CUDA项目属性中,指定ccbin NVCC命令行标志。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM