I was wondering if we can use the Intel C++ Compiler as the host compiler when compiling a ‘mixed’ project where I have C++ code that calls my Cuda kernels as and when required.
I have currently downloaded the Intel Parallel studio evaluation version which gave me the Intel Compiler v 11.1.061.
For projects without Cuda code, I can simply choose the Intel Compiler for a particular project and it all just works.
But for my project with the Cuda code I get compile time errors -
Performing Custom Build Step (Microsoft VC++ Environment)
1>nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported
The nvcc doc on page 15 (for v 2.1) states that we can use the -ccbin option to - “Specify the directory in which the host
compiler executable (Microsoft Visual Studion cl, or a gcc derivative) resides. By default, this executable is expected in the current executable search path.”
Should I conclude that the Intel Compiler is NOT a gcc derivative?
I have posted a similar post on the Intel compiler forum as well, but I have not yet received a reply.
If someone can tell me that this is NOT going to work, I will stop trying. So I will sincerely appreciate a reply.
Thanks in advance!