diff options
author | Pan Xiuli <xiuli.pan@intel.com> | 2016-06-14 05:43:32 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-06-17 12:48:58 +0800 |
commit | 1b076ec070fea9e564a07c293320280fb7bd7f87 (patch) | |
tree | 359ac09207a5e7ce3279cb77bf42cfb0de222c5f /utests/compiler_subgroup_scan_inclusive.cpp | |
parent | 1d2c630c00bc96b088d2ac443a214a17bd7f2607 (diff) | |
download | beignet-1b076ec070fea9e564a07c293320280fb7bd7f87.tar.gz |
Utest: Porting to GCC6
Due to the change of GCC 6 headers:
https://gcc.gnu.org/gcc-6/porting_to.html
std::abs now need cmath header.
This patch fix some codes form OCL20 branch.
Signed-off-by: Pan Xiuli <xiuli.pan@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'utests/compiler_subgroup_scan_inclusive.cpp')
-rw-r--r-- | utests/compiler_subgroup_scan_inclusive.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utests/compiler_subgroup_scan_inclusive.cpp b/utests/compiler_subgroup_scan_inclusive.cpp index 1528f093..013d5996 100644 --- a/utests/compiler_subgroup_scan_inclusive.cpp +++ b/utests/compiler_subgroup_scan_inclusive.cpp @@ -4,6 +4,7 @@ #include <cstdlib> #include <iomanip> #include <algorithm> +#include <cmath> #include "utest_helper.hpp" |