For some reason, nvcc returns the warning
nvlink warning : SM Arch ('sm_20') not found in 'cudafile.o'
for every compiled .cu file. I am compiling with
nvcc -dc -m64 -lineinfo -Wno-deprecated-gpu-targets -arch=sm_60 -Xcudafe "--diag_suppress=declared_but_not_referenced" cudafile.cu
Any way to get rid of this pointless warning?