On 01.08.2016 06:30, Amadeus W.M. wrote: [...]
In the cuda distribution there is a host_config.h file which contains the following lines:
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 9)
#error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
#endif /* __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 9) */
[...]
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux
Table 1. Native Linux Distribution Support in CUDA 7.0 Distribution Kernel GCC GLIBC CentOS 7.x 3.10 4.8.2 2.17
kernel-3.10.0-327.22.2.el7.x86_64 gcc-4.8.5-4.el7.x86_64 glibc-2.17-106.el7_2.6.x86_64