ccuda

CUDA Compiler error. No input files specified;


Trying to compile in win7 x64 cmd prompt. The following command:

nvcc -o kernal.cu

yields the following error message.

nvcc : fatal error : No input files specified; use option --help for more information

Solution

  • try

    nvcc -o xxx kernal.cu

    where xxx is the output file name you want.