You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你好,感谢你的工作!
我在编译你的项目时,因为我的显卡是3070,所以我就使用了“set(CUDA_GEN_CODE "-gencode=arch=compute_86,code=sm_86")”来指CUDA_GEN_CODE,但是在build时出现了这样的错误:
nvcc fatal : Don't know what to do with ' -std=c++11 -O0 -Xcompiler -fPIC -g -w -gencode=arch=compute_86,code=sm_86'
你好,感谢你的工作!
我在编译你的项目时,因为我的显卡是3070,所以我就使用了“set(CUDA_GEN_CODE "-gencode=arch=compute_86,code=sm_86")”来指CUDA_GEN_CODE,但是在build时出现了这样的错误:
nvcc fatal : Don't know what to do with ' -std=c++11 -O0 -Xcompiler -fPIC -g -w -gencode=arch=compute_86,code=sm_86'
应该是是CmakeLists.txt中的这句话
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -std=c++11 -O0 -Xcompiler -fPIC -g -w ${CUDA_GEN_CODE}")
无法被执行。查了半天没有找到相关的解决办法,请问你知道怎么解决吗?
The text was updated successfully, but these errors were encountered: