I have a dot production code which was running fine few months ago, but now when I compile it in double precision the following error appears:
nvcc �%6X: A single input file is required for a non-link phase when an outputfile is specified
make: *** [obj/x86_64/release/dotProduct_reduction.cu.o] Error 255
Here is my Makefile:
################################################################################
Build script for project
################################################################################
Add source files here
EXECUTABLE := dotProduct_reduction
CUDA source files (compiled with cudacc)
CUFILES := dotProduct_reduction.cu
CUDA dependency files
CU_DEPS := Makefile
dotProduct_kernel.cu \
C/C++ source files (compiled with gcc / c++)
CCFILES :=
dotProduct_gold.c \
################################################################################
Rules and targets
include …/…/common/common.mk
#flag to enable double precision
NVCCFLAGS += -arch sm_13
Can anyone help me with this please?
Thank you very much in advance.