CUDA version X complains about not supporting gcc version Y - what to do?

前端 未结 4 811
抹茶落季
抹茶落季 2020-12-15 22:13

The question is about a specific combination of versions but is relevant more generally.

I\'ve just dist-upgraded from Kubuntu 12.04 to 14.04. Now, when I

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 22:53

    I had a similar issue with CUDA Toolkit 7.5 and gcc 5.2.1.

    I did modify the host_config.h file in /usr/local/cuda/include/:

    Just remove the lines where it check the gcc version. It did solve my problem.

    Credits goes to Darren Garvey (https://groups.google.com/forum/#!topic/torch7/WaNmWZqMnzw)

提交回复
热议问题