【问题标题】:How to use Intel C++ Compiler with CUDA nvcc?如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?
【发布时间】:2012-03-15 01:53:10
【问题描述】:

我在 Microsoft Visual Studio 2008 上使用 NVIDIA CUDA 4.1。 我还安装了 Intel Parallel Studio XE 2011。

默认情况下,NVIDIA 的 C 编译器 nvcc.exe 使用微软的 C 编译器 cl.exe 来编译其 C 代码。

如何更改设置以使 nvcc 使用英特尔的 C 编译器 icl.exe

【问题讨论】:

    标签: c++ visual-studio cuda intel nvcc


    【解决方案1】:

    很遗憾,您不能(或至少不推荐)。 Windows 上唯一支持的编译器是 Visual Studio。除非发生了一些变化并且它们现在支持英特尔的编译器,否则我不建议使用它们

    http://forums.nvidia.com/index.php?showtopic=153975

    【讨论】:

    • 也许现在发生了一些变化?或者直到唯一的方法 - 在我的 exe 程序(ICC)中使用 dll 文件(MSVC + CUDA)?
    • @Alex.. 不。 icl 仍然不受支持。
    猜你喜欢
    • 1970-01-01
    • 2011-12-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-08-26
    • 2016-04-26
    • 2017-01-22
    相关资源
    最近更新 更多