We’ve recently received questions from several of you about how to make use of the new ICC 11.1 support in CUDA Toolkit 3.2 for Linux x64. Here’s how you do it:
nvcc -ccbin /path/to/intel/Compiler/11.1/064/bin/intel64/icc ...
Also, if you use the math.h from ICC, you’ll likely need to apply a patch to it in order to clear up errors of the following form:
/opt/intel/Compiler/11.1/064/include/math.h(235): error: omission of exception specification is incompatible with previous function "__isinff" /usr/local/cuda/bin/../include/math_functions.h(400): here
The necessary patch is included in the src/ directory of the CUDA Toolkit 3.2 installation, and directions for how to apply it are included in the CUDA Toolkit Release Notes.
Hope this helps,