您的位置:首页 > 其它

Unsupported gpu architecture 'compute_11'解决方法

2016-09-21 16:55 176 查看
问题描述:

按照网上教程安装OpenCV ,在make 时出现错误,错误提示如下:


解决方法:

百度无果,求助万能谷歌。有高人回答如下:

When using cmake to do configurations, set the option CUDA_GENERATION to specific your GPU architecture. I ran across the same error and tried this to work out the problem.

this worked for me and shows a possible value for CUDA_GENERATION:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..


然后,这个问题就奇迹般的解决了。

总结:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐