It seems that the usage of cutCreateTimer() and other related functions such as cutStartTimer(), cutStopTimer() and so on are changed compared to previous cuda releases.
How can I fix the following error
$ nvcc \
-gencode=arch=compute_20,code=\"sm_20,compute_20\" \
-gencode=arch=compute_30,code=\"sm_30,compute_30\" \
-m64 --compiler-options -fno-strict-aliasing \
-I. -I/usr/local/cuda-7.5/include -I/home/mahmood/NVIDIA_CUDA-7.5_Samples/common/inc \
-DUNIX -O2 \
-o fdu.cu.o -c dfu.cu
dfu.cu(180): error: identifier "cutCreateTimer" is undefined
dfu.cu(181): error: identifier "cutStartTimer" is undefined
...
The code looks like
checkCudaErrors( cutCreateTimer( &timer));
checkCudaErrors( cutStartTimer( timer));
Any idea?