gpt4 book ai didi

c++ - 如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?

转载 作者:太空狗 更新时间:2023-10-29 21:27:16 24 4
gpt4 key购买 nike

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

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

如何更改设置以便 nvcc 使用 Intel 的 C 编译器 icl.exe

最佳答案

不幸的是你不能(或者至少它是非常不推荐的)。 Windows 上唯一支持的编译器是 visual studio。除非有什么改变并且它们现在支持英特尔的编译器,否则我不建议使用它们

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

关于c++ - 如何将英特尔 C++ 编译器与 CUDA nvcc 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9433722/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com