Trying to get CUDA 7.5 to work with GCC 5.x

前端 未结 3 1276
离开以前
离开以前 2021-01-23 06:08

So, if you try to use nvcc when the system GCC is version 5 and up, you get an \"unsupported version\" error. But - I\'ve heard people report that they\'ve just commented this o

3条回答
  •  不思量自难忘°
    2021-01-23 06:56

    I think a -D_MWAITXINTRIN_H_INCLUDED option should fix the issue. Actually I employed a slightly different approach, commenting out the #include line in x86intrin.h, and successfully built TensorFlow with CUDA 7.5 and GCC 5.2.1.

    UPDATE

    For the latest version of TensorFlow (v0.8.0), simply choose to use gcc 4.x when invoking the configure script.

提交回复
热议问题