can't use cuPrintf from multiple cpp files?

The cuPrintf readme says if we want to use cuPrintf from multiple source files, include cuPrintf.cuh (prototypes only). But when I do, NVCC says “External calls are not supported (found non-inlined call to …”

As far as I know NVCC has to inline everything, so does that mean I can only include cuPrintf.cu, from 1 file only? Or did they recently relax the need for inlined calls.

Any ideas?

I had this error when i tried to use cuprintf with cuda2.2 … (It’s only working since 2.3)

I’m using CUDA 3.0. Is there a compiler option that fixes things?

did you ever get an answer to this… because I’m in the same situation today