CUDA complains about nvcc being an “unsupported toolchain”

半城伤御伤魂 提交于 2021-02-17 06:29:06

问题


I've made a 1D convolution program in CUDA - but for some reason the executable doesn't run as CUDA complains "the provided PTX was compiled with an unsupported toolchain" (this error is thrown on the first CUDA library function). My program was compiled with nvcc, with the command I used being exactly: nvcc program.cu -o program and the command I used to run the resultant executable: ./program. Googling returns little to no results - any help?


回答1:


This issue has been solved. The problem was that the NVIDIA driver version in the Arch repos was out-of-date with the newest CUDA version in the same repos - (https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html, my system had CUDA version 11.2.0, but NVIDIA Driver version 455.x.x). Downgrading the CUDA version solved the issue.



来源:https://stackoverflow.com/questions/65413429/cuda-complains-about-nvcc-being-an-unsupported-toolchain

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!