On Fri, Feb 24, 2012 at 11:56 AM, Satish Balay
<balay@mcs.anl.gov> wrote:
for one I mistyped the option - it should be: --with-cudac='nvcc -ccbin icc'
But then - should it not be c++? [as cuda internally uses g++ - not gcc]. So
--with-cudac='nvcc -ccbin icpc'.
But this gives me all kinds of wierd errors in configure.log.. Maybe
it won't work [with intel compilers]..
CUDA .cu files are written in C with some extensions (that are handled by nvcc and not the passed compiler), so I think you have to use a C compiler. You can't write C++ in a .cu file.