cmake里面添加自己显卡的算力:3060显卡算力是8.6
SET(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS}; -gencode arch=compute_86,code=sm_86;)