This error appears in my code.
I was looking for help in Internet. Then I discovered that my cuda compiler is:
nvcc --version nvcc: NVIDIA (R) Cuda compiler driver