How to use Intel C++ Compiler with CUDA nvcc?(如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?)
问题描述
我在 Microsoft Visual Studio 2008 上使用 NVIDIA CUDA 4.1.我还安装了 Intel Parallel Studio XE 2011.
I'm using NVIDIA CUDA 4.1 on Microsoft Visual studio 2008. I also have Intel Parallel Studio XE 2011 Installed.
默认情况下,NVIDIA 的 C 编译器 nvcc.exe
使用微软的 C 编译器 cl.exe
来编译它的 C 代码.
By default, NVIDIA's C Compiler nvcc.exe
uses Microsoft's C Compiler cl.exe
to compile its C code.
如何更改设置以使 nvcc
使用 Intel 的 C 编译器 icl.exe
.
How can I change the settings so that nvcc
uses Intel's C Compiler icl.exe
.
推荐答案
不幸的是你不能(或者至少它是非常不推荐的).Windows 上唯一支持的编译器是 Visual Studio.除非发生了一些变化并且它们现在支持英特尔的编译器,否则我不建议使用它们
Unfortunately you cannot (or at least its HIGHLY unrecommended). The only compiler supported on windows is visual studio. Unless something has changed and they now support intel's compilers i wouldn't suggest using them
http://forums.nvidia.com/index.php?showtopic=153975
这篇关于如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?


基础教程推荐
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 常量变量在标题中不起作用 2021-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 在 C++ 中计算滚动/移动平均值 2021-01-01