Problem compiling caffe with CUDA 9.0

66 views
Skip to first unread message

Vojtěch Moravec

unread,
Oct 10, 2017, 2:41:33 PM10/10/17
to Caffe Users
Hello,
did anyone experienced problem when compiling caffe with CUDA 9.0?

Error is: __CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions.

Does anyone know fix for this error?

Thanks.

Vojtěch Moravec

unread,
Oct 11, 2017, 3:04:03 AM10/11/17
to Caffe Users






























I found a fix. Problem is in boost libraries.
if you comment last 3 lines in /usr/include/boost/config/compiler/nvcc.hpp build will pass. Also all test have passed.



Dne úterý 10. října 2017 20:41:33 UTC+2 Vojtěch Moravec napsal(a):
Screenshot from 2017-10-11 08-59-09.png
Reply all
Reply to author
Forward
0 new messages