ubuntu16, Titan X显卡 , 编译caffe时, opencv-2.4.11,报错Unsupported gpu architecture 'compute_11'
实际上Titan X对应的是compute_20
解决方法:
百度无果,求助万能谷歌。有高人回答如下:
然后,这个问题就奇迹般的解决了。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 ..