im using toolkit 4.0 which supports curand.so I can ensure that this file exists indeed in usr/local/cuda/lib . But i cannot use the functions curand provides.
I know somehow i need to show to the compiler where to look but I cannot find how to do it.
This my Makefile
EXECUTABLE := tspshared
CUFILES := gpu_tsp.cu sobol_gpu.cu
CCFILES := tsp.cpp cpu_tsp.cpp sobol_gold.cpp sobol_primitives.cpp
OMIT_CUTIL_LIB := 1
ROOTBINDIR := …
BINDIR := …
verbose := 1
#dbg := 1
CUDACCFLAGS := --ptxas-options=-v
INCLUDES := -I…/common/inc
As you can see there is another file (common.mk),which holds other modifications for CUDA.
Please someone tell me what to do.I know that propably this is not very difficult but it wastes me so much productive time.
Thanks in advance.