diff options
author | Junyan He <junyan.he@linux.intel.com> | 2015-10-22 14:29:59 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2015-10-27 15:52:50 +0800 |
commit | 2b5895a18786c9ae8395628da8288e73929eee9a (patch) | |
tree | 61643f5f8e7a8ba1ccc0196a6082a5a61704dad5 /utests/utest_helper.hpp | |
parent | 531a6babe6c852bc3ed62849d7640bf2ef4659a0 (diff) | |
download | beignet-2b5895a18786c9ae8395628da8288e73929eee9a.tar.gz |
Utests: Add double check and refine compiler_double case.
Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r-- | utests/utest_helper.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp index 2008bdd6..c6f6384a 100644 --- a/utests/utest_helper.hpp +++ b/utests/utest_helper.hpp @@ -241,5 +241,8 @@ double time_subtract(struct timeval *y, struct timeval *x, struct timeval *resul /* check ulpsize */ float select_ulpsize(float ULPSIZE_FAST_MATH, float ULPSIZE_NO_FAST_MATH); +/* Check is FP64 enabled. */ +extern int cl_check_double(void); + #endif /* __UTEST_HELPER_HPP__ */ |