Ubuntu has a g++ compiler version of 5.4.0:
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
RHEL7/CENTOS has the g++ compiler version of 6.2.0:
xcpp --version
g++ (GCC) 6.2.0
This causes applications using CL/cl2.hpp to fail during the host completion.
The difference in g++ version is by design.
On systems where the GCC version is 5.x the tool reverts to using the system (located in /usr/bin) of the GCC compiler.
For older systems that do not meet that criteria, the tool uses the GCC version that is shipped in the 2017.1 release which is 6.2.0.
Both GCC 5.x and 6.x are compatible with cl2.hpp.
AR# 69356 | |
---|---|
日期 | 11/09/2018 |
状态 | Active |
Type | 综合文章 |
Tools |