Reputation: 758
This is on Windows 7 Pro 64 bit with CUDA 6.5 and Intel Composer 2015, in Visual Studio 2013.
I have a project that contains a mix of native c++ and CUDA. I'm trying to switch from the Microsoft compiler to the Intel compiler, for better vectorization and performance. However, I can't get the project to build after installing Intel Composer and changing the project setting to use the Intel compiler.
Whenever I try to build, I get the error:
nvcc fatal : Compiler 'cl.exe' in PATH different than the one specified with -ccbin
I tried changing the compiler to the Intel compiler located in C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64, by adding
-ccbin C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64\icl.exe
but that errors with
nvcc fatal : redefinition of argument 'compiler-bindir'
How can I configure CUDA to use the Intel compiler instead of the Microsoft one?
Upvotes: 1
Views: 766
Reputation: 152174
Only the microsoft cl.exe compiler is supported on Windows. The supported platforms are indicated in the windows getting started document.
The intel compiler is supported as the host compiler on linux however.
Upvotes: 1